Skip to content
Emanuele Ziglioli edited this page Mar 30, 2015 · 3 revisions

How to setup a JavaFX project in Eclipse

  1. Install JDK 8
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get install oracle-java8-installer
    sudo apt-get install oracle-java8-installer

  2. Install JavaFX (not part of JDK 8, different license)
    sudo apt-get install openjfx

  3. Download and Install Scene Builder

  4. Run Eclipse using JDK 8

  5. Set JDK 8 as default JRE in Eclipse

  6. Install E(fx)clipse from the marketplace

  7. Set the path to the SceneBuilder executable under Eclipse's JavaFX properties: /opt/JavaFXSceneBuilder2.0/JavaFXSceneBuilder2.0

  8. Create a new JavaFX project

  9. Create a new FXML Document

  10. Right click on the FXML Document and select Open with Scenebuilder

Clone this wiki locally