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.
sudo update-alternatives --config java
. All versions must be present in /etc/alternatives/ . Example :sudo update-alternatives --install /usr/bin/java java /usr/java/jdk1.8.0_162/bin/java 2
– Knud Larsen May 14 '18 at 14:54sudo apt install openjfx openjfx-source
... Plenty of plugins, no executable. https://packages.ubuntu.com/search?keywords=openjfx 1. https://packages.ubuntu.com/bionic/amd64/openjfx/filelist 2. https://packages.ubuntu.com/bionic/all/libopenjfx-java/filelist 3. https://packages.ubuntu.com/bionic/amd64/libopenjfx-jni/filelist 4. https://packages.ubuntu.com/bionic/all/openjfx-source/filelist – Knud Larsen May 14 '18 at 16:53openjfx
has a dependency onopenjdk-8-jre
. So I don't think you are really using it with openjdk-11. – chrish Aug 08 '18 at 21:04