current
Java 27 is the current release Java 25 is the current LTS
Java 25
Compact source files and instance main methods allow small programs without a class wrapper
The IO class provides simple console methods
These reduce ceremony for learners and scripts
Java 26
The applet API was removed Applets have been deprecated since Java 9 Relying on them in new code is not possible
Practical note
The examples in this series use the traditional form that works across supported releases New syntax is noted when it changes how you write a small program Do not mix both styles in one codebase without a reason
What to remember
Java moves slowly and deliberately That slowness is a feature for large systems Read the release information before upgrading a production tree
Posted