Ubuntu – How to install openjfx along with openjdk-11

openjdk

I am trying to use openjdk-11 on ubuntu, but my project requires javafx.

There is an openjfx package but it installs alognside with openjdk-8.

So far I only found instructions to build both openjdk and openjfx from scratch.

Any easier way?

Edit: openjdk-11 comes without javafx/openjfx by default.

Best Answer

I figured it out:

You have to download the latest build from the openjfx web site an run as described here: http://mail.openjdk.java.net/pipermail/openjfx-dev/2018-May/021819.html

It seems to have gtk3 enabled by default wich did not seem as stable as gtk2. So for now I have decided to stick with oracle 10 jdk and wait for openjfx to mature and have maven packages.

Related Question