Loading…

JavaFX 8 on Ubuntu

If you want to use JavaFX with OpenJDK 8 on Ubuntu you have to install an older version of OpenJFX and its dependencies.

sudo apt install openjdk-8-jdk openjfx=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2

Hold the package, so they wont be upgraded on system updates.

sudo apt-mark hold openjfx libopenjfx-java libopenjfx-jni

Tested on Ubuntu 18.04.2

Author: Anton Bracke

Software engineering student from Germany. Loves programming in PHP, JS and sometimes C.

One thought on “JavaFX 8 on Ubuntu

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.