Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Note: The master branch on GitHub is a development version of the engine and is
- libraries for GUI, networking, physics, SFX, terrain, importing assets, etc.
- platform-neutral core library for scene graph, animation, rendering, math, etc.
- LWJGL v2/v3 (to access GLFW, OpenAL, OpenGL, and OpenVR) or Android or iOS
- Java Virtual Machine (v8 or higher)
- Java Virtual Machine (v11 or higher)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The update to Java 11 is a breaking change for users on older JVMs. This requirement is currently inconsistent with the build instructions in the 'How to Build' section (line 70), which should also be updated to specify JDK 11. Additionally, Android developers will need to enable core library desugaring to support Java 11 APIs on devices with API levels below 30.


### Documentation

Expand Down
6 changes: 3 additions & 3 deletions common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ group = 'org.jmonkeyengine'
version = jmeFullVersion

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
toolchain {
languageVersion = JavaLanguageVersion.of(25)
vendor = JvmVendorSpec.ADOPTIUM
Expand All @@ -28,7 +28,7 @@ tasks.withType(JavaCompile) { // compile-time options:
//options.compilerArgs << '-Xlint:deprecation' // to show deprecation warnings
options.compilerArgs << '-Xlint:unchecked'
options.encoding = 'UTF-8'
options.release = 8
options.release = 11
}

repositories {
Expand Down
Loading