JME 3.5.0-alpha1 incompatible with Java 7
See original GitHub issueThe distributed file “jme3-core-3.5.0-alpha1.module” at MavenCentral contains the following:
"attributes": {
"org.gradle.category": "library",
"org.gradle.dependency.bundling": "external",
"org.gradle.jvm.version": 8,
Since it specifies JVM version 8, newer build tools won’t allow it to be used in projects that specify compatibility with Java 7.
This issue arose from 2 changes to “common.gradle”:
- Jdk 11 compatibility (ad2ba95e993d3ad16f95c189e25c1b2c54763826) which bumped
sourceCompatibility
from ‘1.7’ to ‘1.8’ and - Gradle 6.9 (PR #1588) which caused Gradle to publish a .module file to MavenCentral
Returning to 1.7 compatibility will require some changes to our source code, to avoid using Java 8 features such as lambdas.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
JME3 Minimum Java Version - jMonkeyEngine Hub
A topic of discussion that was brought up on github: JME 3.5.0-alpha1 incompatible with Java 7 · Issue #1661 · jMonkeyEngine/jmonkeyengine ...
Read more >Java SE 7 and JDK 7 Compatibility - Oracle
Lists the incompatibilities in Java SE 7 and JDK7. ... The following compatibility documents track incompatibility between adjacent Java versions.
Read more >jmonkeyengine - bytemeta
ReflectionAllocator is broken on JDK 16 ... JME 3.5.0-alpha1 incompatible with Java 7. stephengold. stephengold CLOSED · Updated 11 months ago ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not anymore. We can use new language features (excluding sealed class) up to Java 17 (including lambda, records, text block, instanceof pattern matching, switch expressions) on old Android versions as well (Android 4.4+) using Android desugaring. I have already tried it.
Note that my above statement is only regarding Java Language features.
New Java API features such as Java 11 HttpClient and Java 17 Foreign Function & Memory API is not supported by Android yet.
I see you took care of that for me. Thanks!
https://hub.jmonkeyengine.org/t/jme3-minimum-java-version/45111