A simple application with Java 11+, JavaFX 15+, GraalVM, FlywayDB & HSQLDB.
Read about such a sample here. This project is a modified version for that's sample project with Flyway & HSQLDb implementation.
We use GluonFX plugin to build a native image for platforms including desktop and android. Please follow the prerequisites as stated here.
Note: Currently, only Desktop version of this sample if under focused.
Run the application on JVM/HotSpot:
mvn gluonfx:run
Run the application and explore all scenarios to generate config files for the native image with:
mvn gluonfx:runagent
Build a native image using:
mvn gluonfx:build
Run the native image app:
mvn gluonfx:nativerun
Common log files:
/target/gluonfx/log/
Windows log files:
/target/gluonfx/x86_64-windows/gvm/log/
- Flywaydb is not working with GraalVM native-image e.g. Migration files are not loading when running native .exe.