Liberica JDK Download Center
The best alternative to Oracle JDK
Download Liberica JDK: free, supported and 100% open source.
Why choose Liberica JDK
Develop for any modern architecture
(x86 64/32 bit, ARM 64/32 bit, PowerPC, SPARC) and OS (Linux, including Alpine Linux, Windows, macOS, Solaris).
Enjoy complete safety and security
Prompt response and performance engineering to protect valuable data. Update cycle: 6 releases/year concurrently with Oracle JDK.
Be sure everything works as intended
All binaries are verified with the Technology Compatibility Kit (TCK) for Java™ issued by Oracle.
Save disk space and computing power
with the smallest images for deploying Docker containers and microservices. Or just keep it all in a multi-cloud environment.
Use the version of Java™ you prefer
Enhanced long-term support for most popular versions with a guarantee of at least 8 years of Liberica JDK lifetime.
Take advantage of advanced tools
JFR and Mission Control for monitoring,
Auto updater, JavaFX, and many others.
Download Liberica JDK
Other ways to install Liberica JDK
Frequently asked questions
Java 6 and Java 7 — outdated and vulnerable versions not recommended for use. Still, many older applications use them.
Java 8 — the oldest LTS version still supported. LTS means Long Term Support version, the one that vendors keep secure and stable for many years.
Other LTS versions include 11 and 17, the last being the latest available.
There are also other numbered versions available, including Java 9, 10, 12, 13, 14, 15, and 16.
The real question is what version you need. And it depends on your goals.
- If you want to run the app you downloaded, its description usually includes the number of the required Java™ version. Use that one.
- If you develop a new app, usually the best course of action is to get the latest LTS version, or just the latest available.
- New enhanced pseudo-random number generators;
- Features for macOS: a new rendering pipeline, AArch64 port;
- Deprecated features: RMI activation, Security manager, applet API, experimental AOT, and JIT compilers;
- New APIs, including enhanced Vector API, Foreign Function, and Memory API;
- Other useful features and tweaks to make programming on Java™ more comfortable.
- LibericaFX, the supported and updated version of OpenJFX, in LTS and the latest releases;
- Device IO API module in Liberica JDK Full 11 (LTS) for ARMv7 (Raspberry Pi).
java -versionThis works on Windows, macOS, and Linux!
echo %JAVA_HOME%If you are using Linux or macOS, run this command:
/usr/libexec/java_home --verboseThis will display the path to your JDK.
java -versionThis will show the Java™ version you have installed.
Download the Liberica JDK build for Windows. Don’t forget to select the version of Java™ you need and if you want the full or lite version of the JDK. All versions are provided in the msi or exe format.
Next, run the downloaded file. Install Liberica JDK. Use the default settings or modify them as you see fit.
The last thing to do is to select the .java program you wrote or downloaded, copy the file into the Java folder, and then open the command prompt.
Let’s say, for example, you have installed Liberica JDK on disk C into the “Liberica” folder, and your program is called
In command prompt run the following command:
cd LibericaThis will change your active folder to the one you need. In case you installed Java™ into another folder, change “Liberica” to the path to that folder.
javac helloworld.javaIn case you want to run a .jar file, which is a Java™ archive, and if you installed Liberica JDK with default settings, simply double click it.