This project demonstrates the new features introduced in Java 25 (October 2025). Each package contains examples for specific JEPs (JDK Enhancement Proposals).
Location: src/main/java/dev/prasadgaikwad/jep512/
- Simplified program entry points
- No explicit class wrapper needed
- Direct method declarations
- New simplified IO API
- Java 25
- Maven 3.11.0 or higher
# Compile the project
mvn clean compile
# Run specific examples
mvn exec:java -Dexec.mainClass="dev.prasadgaikwad.jep512.CompactSourceAndInstanceMain"src/main/java/dev/prasadgaikwad/
├── jep512/ # Simple Program Launcher examples
- Some features might require enabling preview features using
--enable-previewflag - Examples are designed to demonstrate practical use cases of each feature
- Each package includes detailed comments explaining the features
Feel free to contribute additional examples or improvements through pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.