Java 25 LTS released with Compact Files, Module Imports and IntelliJ IDEA support
Oracle has released Java 25 LTS, the latest long-term support version of the language. This update simplifies the learning curve with Compact Source Files, Instance Main Methods for shorter main definitions, and an IO.println() convenience method. These changes make entry-level programs like "Hello World" far less verbose, lowering the barrier for newcomers and easing quick prototyping while keeping Java’s enterprise capabilities intact.
The release also introduces Module Import Declarations to simplify imports and brings performance upgrades such as Ahead-of-Time Method Profiling for faster JVM warm-up, Compact Object Headers for reduced memory use, and the Generational Shenandoah garbage collector for improved efficiency. At the same time, support for 32-bit x86 has been removed to focus on modern systems.
Alongside Java 25, JetBrains has updated IntelliJ IDEA with full support for the new features. The IDE now offers live templates for compact main methods and IO helpers, optimized handling of module imports, and quick-fixes that convert compact source files into regular classes, helping developers smoothly transition from small examples to larger projects.
