0
Answered

Ubooquity, OpenJava 8 and JFX

Cheis S 9 months ago updated by Tom 8 months ago 2

I'm trying to install Ubooquity on Ubuntu 22.04.4 LTS with openjdk version 1.8.0_402.

I get this error:

 java.lang.NoClassDefFoundError: javafx/fxml/Initializable

which is:

     Caused by: java.lang.ClassNotFoundException: Failure to load: javafx.fxml.Initializable

From what I have read online, it is not possible to add JavaFX to OpenJava 8.

How should I proceed?

Under review

You have several options. You can either:

  • For Ubooquity 2: launch Ubooquity in headless mode (details here), Ubooquity will not try to use Java FX. But you will not have any desktop UI.
  • For Ubooquity 2: use an Oracle JRE that contains Java FX
  • Use Ubooquity latest version (3 beta) and any JDK over version 17