Java 25 LTS released with Compact Files, Module Imports and IntelliJ IDEA support

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.

by Mauricio B. Holguin

shazmataz
shazmataz found this interesting
Java iconJava
  664
  • ...

Java is a general-purpose programming language known for its concurrency, class-based structure, and object-oriented design. It aims to minimize implementation dependencies, enhancing portability across platforms. Key features include garbage collection, static typing, and a robust object-oriented framework. Java is rated 4.4 and is often compared with other programming languages for its versatility and efficiency.

No comments so far, maybe you want to be first?
Gu