hellofx v1.1.0
HelloFX
A simple Hello World application with Java 11+, JavaFX 15+ and GraalVM.
Documentation
Read about this sample here
Quick Instructions
We use GluonFX plugin to build a native image for platforms including desktop, android and iOS. Please follow the prerequisites as stated here.
Desktop
Run the application on JVM/HotSpot:
mvn gluonfx:runRun the application and explore all scenarios to generate config files for the native image with:
mvn gluonfx:runagentBuild a native image using:
mvn gluonfx:buildRun the native image app:
mvn gluonfx:nativerunAndroid
Build a native image for Android using:
mvn gluonfx:build -PandroidPackage the native image as an 'apk' file:
mvn gluonfx:package -PandroidInstall it on a connected android device:
mvn gluonfx:install -PandroidRun the installed app on a connected android device:
mvn gluonfx:nativerun -PandroidiOS
Build a native image for iOS using:
mvn gluonfx:build -PiosInstall and run the native image on a connected iOS device:
mvn gluonfx:nativerun -PiosCreate an IPA file (for submission to TestFlight or App Store):
mvn gluonfx:package -Pios