Skip to content
Branch: master
Find file History
jose.pereda
jose.pereda #92 Update docs with Java/JavaFX 12
#89 Add JavaFX maven archetypes
#86 Add JavaFX maven plugin and #76 remove exec plugin
Latest commit 3bc6ba2 Apr 16, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
hellofx issue-9: Rename Ant to CLI for hellofx sample Nov 8, 2018
README.md #92 Update docs with Java/JavaFX 12 Apr 16, 2019

README.md

HelloFX Sample

JavaFX 12 HelloFX sample 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.

CLI

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

Linux / Mac

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

cd HelloFX/CLI/hellofx
export PATH_TO_FX=path/to/javafx-sdk-12/lib

Compile:

javac --module-path $PATH_TO_FX --add-modules javafx.controls HelloFX.java

Run:

java --module-path $PATH_TO_FX --add-modules javafx.controls HelloFX

Windows

If you run on Windows, follow these steps:

cd HelloFX\CLI\hellofx
set PATH_TO_FX="path\to\javafx-sdk-12\lib"

Compile:

javac --module-path %PATH_TO_FX% --add-modules javafx.controls HelloFX.java

Run:

java --module-path %PATH_TO_FX% --add-modules javafx.controls HelloFX
You can’t perform that action at this time.