To install Liberica JDK download the .deb package and run apt tool:
wget https://github.com/bell-sw/Liberica/releases/download/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
To install Liberica JDK download the .tag.gz package and unpack it.
wget https://github.com/bell-sw/Liberica/releases/download/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.
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://github.com/bell-sw/Liberica/releases/download/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.