Java Foundations (JDK 21)
Goal: refresh modern Java fundamentals (language, core APIs, testing) with clean and visible GitHub deliverables.
Tech stack
- Java 21
- Maven
- JUnit 5
Run tests
Build an executable JAR
mvn clean package java -jar target/java-foundations-1.0-SNAPSHOT.jar
Run in development with Maven Exec Plugin
Run with arguments
mvn exec:java -Dexec.args="Manu"Run the application (dev)
The jar generated by the Maven quickstart archetype is not executable by default (no manifest entry).
To run the compiled class directly:
java -cp target/classes fr.manooweb.java.App