Skip to content

Latest commit

 

History

History
 
 

Gradle

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Modular samples for Eclipse

JavaFX 12 samples to run from Eclipse with different options and build tools

Version Eclipse: 2019-03 (4.11.0)

Install this patch from MarketPlace: Java 12 support for Eclipse 2019-03 (4.11).

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

Gradle

For the first time only:

  • Make sure you have the Buildship Gradle Integration 3.0 plugin installed.

  • Add org.gradle.java.home to a gradle.properties file, with the path to JDK 12. This file can be part of the project or under the gradle user home USER_HOME/.gradle.

Clone the sample, open it with Eclipse and refresh the Gradle project.

Run from Gradle Tasks -> application -> run.

Run from Gradle Tasks -> other -> jlink to create a custom runtime.

Linux / Mac

On Linux or Mac run:

build/image/bin/hellofx

Windows

On Windows, run:

build\image\bin\hellofx