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.1/bellsoft-jdk11.0.1-linux-amd64.deb
sudo apt install ./bellsoft-jdk11.0.1-linux-amd64.deb
This will install bellsoft-java11 JDK package, including LibericaFX.
To use Liberica JRE, simply run
java -jar $your_app
This will automatically pick LibericaFX 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
To install Liberica JDK download the .tag.gz package and unpack it.
wget https://download.bell-sw.com/java/11.0.1/bellsoft-jdk11.0.1-linux-amd64.tar.gz
tar -zxvf bellsoft-jdk11.0.1-linux-amd64.tar.gz
This will unpack Liberica JDK, including LibericaFX to the current directory. Either add bin subdirectory to $PATH, or remember this directory as $LIBERICA_DIR evironment 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.
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.1/bellsoft-jdk11.0.1-windows-amd64.zip", "liberica.zip")
Expand-Archive liberica.zip -DestinationPath .
This will unpack Liberica JDK, including LibericaFX 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.