0

I have installed Oracle JDK 12 from ppa.launchpad.net/linuxuprising but when I create Java FX project in Intellij Idea it says Java FX is not configured in selected JDK. Seems the JDK doesn't include Java FX although it must be (Oracle web-site says JDK 12 includes Java FX).

How to install Java FX for Oracle JDK 12?

1 Answers1

1

Oracle has removed JavaFX from the JDK with Version 11.

As far as I know, the latest Open Java FX Version in Ubuntu is 11. So if you want to work with version 12, you'll have to install it manually. That should be no problem though. Check out the official tutorial:

https://openjfx.io/openjfx-docs/#install-javafx

Otherwise, if you are on at least Ubuntu 18.04, you should be able to install OpenJDK 11 and Open JFX 11 with your package manager (might have to enable the Universe repository).