-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to JDK 17 for ARM Architecture #5976
Comments
As far as I know |
When do you plan to begin this upgrade?JDK 8 is unable to keep up with the times. |
@CarlChaoCarl Java 17 or later is required to build Java-Tron. |
@abn2357 The current phase is under discussion, and the evaluation will be based on the workload. |
Try to work with both JDK8 and JDK17. |
Here are some common considerations: Caution
Important 2. Default Behavior Changes
Important 3. JVM options Changes
Important 4. Third-party dependencies
Important 5. Gradle plugins
Important 6. Build and deployment process:
Important 7. Cross-JDK testing
|
This issue has been added to the core devs community call #23, welcome to share the latest progress @halibobo1205, and discuss together with @CarlChaoCarl @abn2357 @thuthu24. |
Caution 8. Strong data consistency and finality |
Caution
|
Important Commercial Use Tron's other behavior should be identified as Commercial Use. |
Important JDK version compatibility
|
Important JDK provider
|
We'll be doing most of the compatibility upgrades in 4.8.1 |
This strategy ensures both the stability of existing systems and explores paths for future technical upgrades, making it a practical solution. It's recommended to plan the x86 platform JDK upgrade timeline after gaining successful experience on the ARM platform. Based on the above considerations, JDK17 is supported on ARM, x86 is not upgraded to JDK17 for the time being. |
Background
Java-Tron currently only supports Oracle JDK 8. However, despite the wide usage of JDK 8, it is no longer the most preferable option for development for multiple reasons and limitations. For instance, the End of Public Updates process for legacy releases and the End of Commercial Use under the Oracle Technology Network License Agreement for Java SE both hold that. On the contrary, JDK 17 is the LTS (Long Term Support) version of Oracle announced for free commercial use in 2021. It has significant improvements in performance, stability, and security, with advantages as follows:
Caution
Oracle JDK Development Kit 17.0.12 is the last planned update of JDK 17 under the NFTC. Updates after September 2024 will be licensed under the Java SE OTN License (OTN) and production use beyond the limited free grants of the OTN license will require a fee. I suggest moving to OpenJDK 17, see more distributions.
Important
Important
Important
Related Issues and PRs
Prepared dependencies
section, to suggest Linux Ubuntu's users, using Oracle JDK 8, instead of OpenJDK 8, to avoid error build #339Scope of Impact
The text was updated successfully, but these errors were encountered: