This article is a mirror article of machine translation, please click here to jump to the original article.

View: 3977|Reply: 6

[Source] Linux download and install OpenJDK version 21.0.2

[Copy link]
Posted on 2024-9-3 13:20:25 | | | |
Requirements: Deploy some middleware, which is developed in Java, and need to install the Java runtime environment on the server.

What is the difference between OpenJDK and Oracle JDK?

Oracle JDK and OpenJDK are both sets of software and specifications known as Java development kits. In Java 11 and later, Oracle JDK and OpenJDK are built identical and include features such as Flight Recorder and Mission Control. In fact, there is little code difference between Oracle JDK and OpenJDK, so they function very similarly.

The biggest difference between OpenJDK and Oracle JDK is that OpenJDK is an open-source project maintained by Oracle, Red Hat, and the community, while Oracle JDK is closed-source, requires the purchase of a paid license, and is maintained by Oracle. As a result, it has some closed-source or license-restricted features that OpenJDK does not have.

OpenJDK official website:The hyperlink login is visible.

Before installing the JDK, you need to understand which versions are long-term support, the Oracle Java SE support roadmap:The hyperlink login is visible.



Microsoft Build of OpenJDK version download:The hyperlink login is visible.

OpenJDK JDK 21.0.2

This article installs OpenJDK JDK version 21.0.2 on Linux, download at:The hyperlink login is visible.

Download and unzip with the following command:

Check the version





Previous:Windows Reset PC (System Restore) Wipe the disk
Next:Linux uses chrony to synchronize system time
 Landlord| Posted on 2024-9-3 14:17:44 |
If an error is reported:Failed at step EXEC spawning /data/middleware/jdk-21.0.2/bin/java: Permission denied

SELINUX needs to be turned off

A thorough understanding of what selinux in linux is
https://www.itsvse.com/thread-7772-1-1.html


 Landlord| Posted on 2024-9-4 21:53:08 |
Alibaba Dragonwell is a free, multi-platform production-ready OpenJDK distribution that offers long-term support, including stability, security fixes, and performance enhancements.

Over the years, Alibaba has written over a billion lines of Java code. While running these applications with OpenJDK, we found that we needed to customize them to accommodate large-scale Java application deployments. Our customization has been fully tested in our environment. We are now contributing some of our work to the Java community.

Alibaba Dragonwell is a downstream version of OpenJDK and is an internal implementation of OpenJDK within Alibaba. It is optimized for online e-commerce, finance, and logistics applications running on over 100,000 servers. Alibaba Dragonwell is the engine that runs these distributed Java applications, allowing for extreme scalability.

Alibaba Dragonwell is a downstream version of OpenJDK and is a reliable alternative to OpenJDK in production. Alibaba Dragonwell is available in two versions:

Standard Edition: Based on OpenJDK upstream with more enhancements, including bug fixes, security patches, tool support, and more.
Extended Edition: Includes all the features of the Standard Edition, plus additional customization/important features optimized for the cloud, which are widely used in Alibaba's production environment.

Both versions pass the Eclipse AQAvit Quality Assurance Test Suite, providing a stable, high-quality Java engine for your applications.

Official Website:The hyperlink login is visible.
Open Source Address:The hyperlink login is visible.

 Landlord| Posted on 2025-6-6 11:22:28 |
Azul Zulu Builds of OpenJDK:The hyperlink login is visible.
 Landlord| Posted on 2025-8-1 16:54:02 |
The BiSheng JDK is an open-source version of Huawei's customized OpenJDK designed for production environments.
Download Address:The hyperlink login is visible.
 Landlord| Posted on 2025-8-19 11:38:25 |
Eclipse Temurin (Eclipse Foundation)
The hyperlink login is visible.

Amazon Corretto (Amazon)
The hyperlink login is visible.
 Landlord| Posted on 2025-8-19 11:39:02 |
Microsoft Build of OpenJDK version download:The hyperlink login is visible.
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com