-
Notifications
You must be signed in to change notification settings - Fork 352
Installation Guide for Luke 7.5.0 JavaFX edition
As of the JDK 11, JavaFX was decoupled from Oracle JDK.
So you need to install the JavaFX module separately and link it to the JVM process to run Luke 7.5.0 (JavaFX ed.) on JDK 11. Here is the installation guide to run JavaFX Luke. Also, we will add some guide for JDK 8 users in the later part of this document.
If you have any problems with JavaFX installation, you can raise an issue and we will make the effort to help you. However, please consider to use the Swing edition Luke rather than digging the solutions for that. The Swing edition is still under active development but it provides the very same features the JavaFX edition does.
-
Download JavaFX SDK from here ("JavaFX Mac OS X SDK" or "JavaFX Linux SDK"): https://gluonhq.com/products/javafx/
-
Extract the archive.
unzip openjfx-11_<platform>-x64_bin-sdk.zip -d /path/to/your/javafx/dir
- Set the environment variable
JFX_HOME
to inform Luke the JavaFX module path.
export JFX_HOME=/path/to/your/javafx/dir/javafx-sdk-11
- Run
luke.sh
cd /path/to/luke-javafx-7.5.0/
./luke.sh
For more details, see: http://mail.openjdk.java.net/pipermail/openjfx-dev/2018-May/021819.html
-
Download JavaFX SDK from here ("JavaFX Windows SDK"): https://gluonhq.com/products/javafx/
-
Extract the archive
openjfx-11_windows-x64_bin-sdk.zip
to ¥path¥to¥your¥javafx¥dir -
Set the environment variable
JFX_HOME
to inform Luke the JavaFX module path.
- Add
%JFX_HOME%\bin
toPath
variable.
- Run
luke.bat
cd ¥path¥to¥luke-javafx-7.5.0
.¥luke.bat
You do not need any extra modules to run JavaFX Luke. Just run luke.sh
or luke.bat
.
[Note]
Please DO NOT set the JFX_HOME
environment variable (this is for JDK11/JavaFX11 configuration) when you run Luke with OracleJDK 8. This is a limitation of the current start script.
Install openjfx package by apt.
sudo apt-get install openjfx
Install openjfx package by dnf.
sudo dnf install java-1.8.0-openjdk-openjfx
Or for older distributions,
sudo yum install java-1.8.0-openjdk-openjfx
// TBD
// If you have information for this, please let us know :)
// TBD
// If you have information for this, please let us know :)