How do I install openjfx on Ubuntu 14.04 / Linux Mint 17

7,886

Binaries are not available for these older systems, but you can compile from source:

sudo apt-get build-dep libopenjfx-java
sudo apt-get --compile source libopenjfx-java

You can then install the packages by double clicking on each deb file to install:

libopenjfx-jni_8u60-b27-4~trusty1_amd64.deb
libopenjfx-java_8u60-b27-4~trusty1_all.deb
libopenjfx-java-doc_8u60-b27-4~trusty1_all.deb
openjfx_8u60-b27-4~trusty1_amd64.deb
Share:
7,886

Related videos on Youtube

Jonathan Cross
Author by

Jonathan Cross

Updated on September 18, 2022

Comments

  • Jonathan Cross
    Jonathan Cross over 1 year

    It seems that attempts to backport OpenJFX (libopenjfx-java) to Ubuntu 14.04 / Linux Mint 17 have stalled (see bugs below). This package is required by many projects using JDK 8, how can I install it on my system?

    Related bugs:

  • didi_X8
    didi_X8 over 7 years
    In case the first command fails, make sure the line for deb-src in (typically) /etc/apt/sources.list.d/openjdk-r-ppa-trusty.list isn't commented out.
  • hako
    hako about 7 years
    Step 1 fails: "The following packages have unmet dependencies: libavcodec-dev : Depends: libavcodec-ffmpeg56 (= 7:2.7.2-1dhor~trusty) but it is not going to be installed E: Build-dependencies for libopenjfx-java could not be satisfied."
  • Naresh
    Naresh about 6 years
    @didi_X8 thank you so much... also "sudo apt update" is important after your step...
  • Stealth Rabbi
    Stealth Rabbi over 5 years
    I try runnign the fisrt command, after updating /etc/apt/sourceslist.d.... and get "Unable to find source package for libopenjfx-java"