Description
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:
- Free Java License: Free Use License for All Users.
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.
- LTS: Long-Term-Support, Premier Support Until September 2026 or later.
- AArch64 Port
Important
- JEP 237: Linux/AArch64 Port(Release 9)
- JEP 388: Windows/AArch64 Port(Release 16)
- JEP 391: macOS/AArch64 Port(Release 17)
- Garbage Collectors
Important
- Language
Important
- JEP 306: Restore Always-Strict Floating-Point Semantics(Release 17)
- JEP 409: Sealed Classes(Release 17)
- JEP 361: Switch Expressions(Release 14)
Related Issues and PRs
- Expand ARM Architecture Compatibility #5954
- Node not syncing post mandatory upgrade #5807
- fix(readme): update description of JDK 1.8 version in use #5338
- A fatal error has been detected by the Java Runtime Environment #4746
- Debian, openjdk, javax.annotation.Generated cannot find symbol #4498
- Node sync not happening at all #4472
- Full node sync failed - Peer stats: all 0, active 0, passive 0 #4524
- OpenJDK, newer Java versions #4211
- Run java-tron using OpenJDK #4133
- * What went wrong: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper #3897
- Syncing Issue #3604
- Upgrade to JDK 11 #3542
- Upgrade to JDK 11 #3540
- 🚀 A series of performance improvement plans #3528
- Can't Connect to Any Peer #3514
- GreatVoyage-v4.1.1 java error on Ubuntu 20.04.1 LTS (Focal Fossa) #3504
- Error creating bean with name 'blockMsgHandler': Injection of autowired dependencies failed #2379
- Failed to deploy #2311
- Oracle Java (JDK) 8 Installer PPA (DISCONTINUED) #2164
- Error when running full node. Exception encountered during context initialization - cancelling refresh attempt #1179
- Odyssey-v2.0.5 compile Error #1105
- Added info under
Prepared dependencies
section, to suggest Linux Ubuntu's users, using Oracle JDK 8, instead of OpenJDK 8, to avoid error build #339 - Java 10? - currently unable to compile java-tron with JDK 10 #295
Scope of Impact
- Build and deployment processes
- Core application codes
- Third-party dependencies
- Development and testing environments
Metadata
Metadata
Assignees
Type
Projects
Status