Go to src/main/java/app/module/sample/application/command
directory to show commands source code.
mvn dependency:copy-dependencies
Build:
mvn clean compile spring-boot:process-aot package
In Idea IDE use tab Maven
-> Execute Maven Goal
button.
Run:
java -jar target/JavaConsoleLearn-1.0-SNAPSHOT.jar
Install GraalVM Community:
https://www.graalvm.org/downloads/
bash <(curl -sL https://get.graalvm.org/jdk)
cd /path/to/graalvm/bin
./gu install native-image
Add GRAALVM_HOME
to .profile
export GRAALVM_HOME="/path/to/graalvm/bin/native-image"
Build:
mvn clean compile spring-boot:process-aot package
mvn -Pnative native:compile-no-fork
In Idea IDE use tab Maven
-> Execute Maven Goal
button.
target/console
Copyright (c) Rafał Mikołajun 2023.