What do you need?

jFed requires Java 11. (There is no need to install OpenJFX, it is now bundled with jFed.)

Both OpenJDK and Oracle’s JDK are supported. Note that the Oracle JDK has some important licensing restrictions. We advise to use OpenJDK.

Older java versions (< 11) are not supported in jFed anymore.

Verifying your Java installation

To verify your current java installation, open a terminal and execute the java -version command.

For OpenJDK java 11 the output looks like this:

user@laptop:~$ java --version
openjdk 11.0.1 2018-10-16
OpenJDK Runtime Environment (build 11.0.1+13)
OpenJDK 64-Bit Server VM (build 11.0.1+13, mixed mode)

Installing OpenJDK

Debian / Ubuntu / Mint

Note: If you install jFed using apt-get (see the downloads page), you do not need to manually install java, as the jFed package has it as a dependency.

In Ubuntu 18.10 or higher or debian 10 (buster) or higher, open a terminal, and execute the following commands:

sudo apt-get update
sudo apt-get install openjdk-11-jdk

WARNING On Ubuntu 18.04, the above procedure will install java 10, not 11! Use the instructions below instead:

In older Ubuntu’s, try this PPA :

sudo apt-get install -y -f apt-transport-https ca-certificates curl software-properties-common openssl
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-11-jdk

In debian 9 (stretch), you need to use stretch-backports for this to work:

echo 'deb http://ftp.debian.org/debian stretch-backports main' | sudo tee /etc/apt/sources.list.d/stretch-backports.list
sudo apt-get update
sudo apt-get -t stretch-backports install openjdk-11-jdk

OpenJDK 11 is not available on older debians, like 8 (jessie) or 7 (wheeze).

Arch Linux

Open a terminal, and execute the following command:

sudo pacman -S jdk-openjdk

Note that when java 12 becomes available, the arch java 11 package will change name to “jdk11-openjdk” (but you can probably also use java 12).

Alternative: Installing Java 11 manually

If you cannot install OpenJDK 11 using your systems package manager, you can manually install OpenJDK 11. This is not recommended, as it probably does not integrate well with your linux distribution’s java.

Full instructions can be found at the OpenJDK site

Open a terminal and execute the following commands:

# replace with correct URL from OpenJDK site
curl https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz | tar xz
$(pwd)/jdk-11*/bin/java --version

Note that this doesn’t install java, it downloads a binary version that you can directly run.