Skip to content

Latest commit

 

History

History
 
 

Maven

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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.

Non-modular - Maven

hellofx sample non-modular project to run with Maven

Linux / Mac

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

cd CommandLine/Non-modular/Maven/hellofx

To run the project:

mvn clean javafx:run

To create a fat jar:

mvn compile package
java -jar shade/hellofx.jar

Windows

If you run on Windows, follow these steps:

cd CommandLine\Non-modular\Maven\hellofx

To run the project:

mvn compile exec:java

To create a fat jar:

mvn compile package
java -jar shade\hellofx.jar