Home > Java > javaTutorial > body text

What is the difference between Oracle JDK and OpenJDK?

青灯夜游
Release: 2019-03-05 11:38:12
Original
13045 people have browsed it

What is the difference between Oracle JDK and OpenJDK? The following article will introduce to you the difference between Oracle JDK and OpenJDK. I hope it will be helpful to you. [Video tutorial recommendation: Java tutorial]

What is the difference between Oracle JDK and OpenJDK?

A brief introduction to Oracle JDK and OpenJDK

Oracle JDK is implemented based on the Java Standard Edition specification and is released as a binary product. It supports multiple operating systems such as Windows, Linux, Solaris, MacOS, etc. It supports different platforms such as Intel 32-bit and 64-bit architecture, ARM architecture and SPARC. It is completely based on Java programming language. Later, it was announced that the license would be released under the GPL (General Public License) license. Oracle JDK contains many components as a collection of programming tools in the form of libraries.

OpenJDK is an open source and free implementation of Java SE Platform Edition, which is written in the C and Java programming languages. It supports different operating systems such as FreeBSD, Linux, Microsoft Windows, Mac OS X.

The main differences between Oracle JDK and OpenJDK:

1. Oracle JDK is licensed under the Oracle Binary Code License Agreement, while OpenJDK has GNU General Public License (GNU GPL) version 2.

2. Oracle JDK has the Flight Recorder function, and Open JDK has the Font Renderer function.

3. Oracle JDK has good GC options and a better renderer, while OpenJDK has fewer GC options and has a slower graphics renderer due to its distribution containing its own renderer. options.

4. In terms of responsiveness and JVM performance, Oracle JDK provides better performance than OpenJDK.

5. Oracle JDK supports Windows, Linux, Solaris, MacOS and other operating systems; while OpenJDK supports FreeBSD, Linux, Microsoft Windows, Mac OS X and other operating systems.

6. Oracle JDK version will be released every three years, and Oracle will provide long-term support for its version. However, OpenJDK versions are released every three months, and changes to the release are only supported until the next version is released.

The above is the entire content of this article, I hope it will be helpful to everyone's study. For more exciting content, you can pay attention to the relevant tutorial columns of the PHP Chinese website! ! !

The above is the detailed content of What is the difference between Oracle JDK and OpenJDK?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!