Liberica Install Guide

Liberica JDK 11.0.2

APT Repository (.deb-based Linux distributions)

Add BellSoft official GPG key and setup the repository

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-keys 32E9750179FCEA62
echo "deb [arch=amd64] https://apt.bell-sw.com/ stable main" | sudo tee /etc/apt/sources.list.d/bellsoft.list

Liberica JDK repositories contain all Linux architectires supported in the release: amd64, arm64, armhf. If amd64 is not the target architecture, replace it in the command above with the architecture of choice.

Update repositories and install packages

sudo apt-get update
sudo apt-get install bellsoft-java11

The following packages are available:

  • bellsoft-java11 contains the full Liberica JDK, including JavaFX and a variety of JVMs for platforms which support it.
  • bellsoft-java11-lite includes Liberica JDK with compressed modules and Server VM, without any extra packages.

YUM Repository (.rpm-based Linux Distributions)

Add BellSoft official GPG key and set up the repository

gpg --keyserver keys2.kfwebs.net --recv-keys 32e9750179fcea62
gpg --export -a 32e9750179fcea62 | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-bellsoft > /dev/null
echo | sudo tee /etc/yum.repos.d/bellsoft.repo > /dev/null << EOF
[BellSoft]
name=BellSoft Repository
baseurl=https://yum.bell-sw.com
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-bellsoft
priority=1
EOF

Liberica JDK repositories contain all Linux architectires supported in the release.

Update repositories and install packages

sudo yum update
sudo yum install bellsoft-java11

The following packages are available:

  • bellsoft-java11 contains the full Liberica JDK, including JavaFX and a variety of JVMs for platforms which support it.
  • bellsoft-java11-lite includes Liberica JDK with compressed modules and Server VM, without any extra packages.

Installing Liberica JDK on Debian and other DEB-based OSes

To install Liberica JDK download the .deb package and run apt tool:

wget https://download.bell-sw.com/java/11.0.2/bellsoft-jdk11.0.2-linux-amd64.deb
sudo apt install ./bellsoft-jdk11.0.2-linux-amd64.deb

This will install bellsoft-java11 JDK package, including JavaFX.

To use Liberica JRE, simply run

java -jar $your_app

This will automatically pick JavaFX or DeviceIO dependencies when compiled into the JDK.

To uninstall Liberica JDK, run the following command:

sudo apt remove bellsoft-java11

Installing standalone Liberica JDK package on GNU/Linux and Solaris

To install Liberica JDK download the .tag.gz package and unpack it.

wget https://download.bell-sw.com/java/11.0.2/bellsoft-jdk11.0.2-linux-amd64.tar.gz
tar -zxvf bellsoft-jdk11.0.2-linux-amd64.tar.gz

This will unpack Liberica JDK, including JavaFX to the current directory. Either add bin subdirectory to $PATH, or remember this directory as $LIBERICA_DIR evironment veriable and run Liberica JDK as

$LIBERICA_DIR/bin/java -jar $your_app

To uninstall Liberica JDK, simply remove this directory and unset related environmental variables.

Installing standalone Liberica JDK package on Microsoft Windows

To install Liberica JDK download the .zip package and unpack it.

If you do not want to or cannot do it via GUI, then you can use PowerShell:

(New-Object System.Net.WebClient) .DownloadFile("https://download.bell-sw.com/java/11.0.2/bellsoft-jdk11.0.2-windows-amd64.zip", "liberica.zip")
Expand-Archive liberica.zip -DestinationPath .

This will unpack Liberica JDK, including JavaFX to the current directory. Either add bin subdirectory to $PATH, or remember this directory as $LIBERICA_DIR environment variable and run Liberica JDK as

$LIBERICA_DIR/bin/java -jar $your_app

To uninstall Liberica JDK, simply remove this directory and unset related environmental variables.

Back to Download Page