Skip to content

Latest commit

 

History

History

Gradle

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Modular samples for IntelliJ

JavaFX samples to run from IntelliJ with different options and build tools

Version IntelliJ IDEA 20189.1

Download JDK 17 or later for your operating system. Make sure JAVA_HOME is properly set to the JDK installation directory.

Download JavaFX jmods for your operating system and unzip to a desired location.

Gradle

Clone the sample, open it with IntelliJ and import the Gradle changes. Build and run from the Gradle window.

To create custom JRE you can use the org.beryx.jlink plugin. To create and run the custom runtime image:

Linux / Mac

On Linux or Mac run:

./gradlew jlink
build/image/bin/hellofx

Windows

On Windows, run:

gradlew jlink
build\image\bin\hellofx