Skip to content

Files

Latest commit

faf9a64 · Jul 28, 2019

History

History
This branch is 9 commits behind openjfx/samples:master.

Gradle

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 28, 2019
Apr 16, 2019

samples

JavaFX 12 samples to run with different options and build tools.

Download an appropriate JDK 12 for your operating system. Make sure JAVA_HOME is properly set to the Java 12 installation directory.

Modular - Gradle

hellofx sample modular project to run with Gradle

Linux / Mac

If you run on Linux or Mac, follow these steps:

cd CommandLine/Modular/Gradle/hellofx

To run the project:

./gradlew run

To create custom JRE you can use the org.beryx.jlink plugin:

./gradlew jlink
build/image/bin/hellofx

Windows

If you run on Windows, follow these steps:

cd CommandLine\Modular\Gradle\hellofx

To run the project:

gradlew run

To create custom JRE with the org.beryx.jlink plugin:

gradlew jlink
build\image\bin\hellofx