Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Installation Guide for Luke 7.5.0 JavaFX edition

Tomoko Uchida edited this page Oct 14, 2018 · 22 revisions

Preamble

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.

How to install with JDK 11

for Mac/Linux users

  1. Download JavaFX SDK from here ("JavaFX Mac OS X SDK" or "JavaFX Linux SDK"): https://gluonhq.com/products/javafx/

  2. Extract the archive.

unzip openjfx-11_<platform>-x64_bin-sdk.zip -d /path/to/your/javafx/dir
  1. Set the environment variable JFX_HOME to inform Luke the JavaFX module path.
export JFX_HOME=/path/to/your/javafx/dir/javafx-sdk-11
  1. 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

for Windows users

  1. Download JavaFX SDK from here ("JavaFX Windows SDK"): https://gluonhq.com/products/javafx/

  2. Extract the archive openjfx-11_windows-x64_bin-sdk.zip to ¥path¥to¥your¥javafx¥dir

  3. Set the environment variable JFX_HOME to inform Luke the JavaFX module path.

JFX_HOME variable

  1. Add %JFX_HOME%\bin to Path variable.

Path variable

  1. Run luke.bat
cd ¥path¥to¥luke-javafx-7.5.0
.¥luke.bat

How to install with OracleJDK 8 (or 9, 10)

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.

How to install with OpenJDK 8

for Linux (Debian/Ubuntu) users

Install openjfx package by apt.

sudo apt-get install openjfx

for Linux (RedHat/CentOS/Fedora) users

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

for Mac users

// TBD

// If you have information for this, please let us know :)

for Windows users

// TBD

// If you have information for this, please let us know :)