Home >Common Problem >What is the difference between OpenJDK and OracleJDK?
What is the difference between OpenJDK and OracleJDK?
1. Differences in licensing agreements: OpenJDK is released using the GPL V2 agreement, while SUN JDK is released using the JRL. Although both protocols are open source, the difference in usage is that GPL V2 allows commercial use, while JRL only allows personal research use.
2. OpenJDK does not include Deployment (deployment) function: Deployment functions include: Browser Plugin, Java Web Start, and Java Control Panel. These functions cannot be found in OpenJDK.
3. OpenJDK source code is incomplete: It is easy to think of this. In OpenJDK that adopts GPL protocol, part of the source code of SUN JDK cannot be opened to OpenJDK due to property rights issues. The most important part is Code for the SNMP part of the optional element in JMX.
4. Replace some source codes with open source codes: Due to property rights issues, many source codes whose property rights are not SUN have been replaced with some open source codes with the same functions, such as font rasterization engines, using Free Type instead. .
GPL General Public License
GPL, the abbreviation of GNU General Public License, is the informal Chinese translation of GNU General Public License. It is not published by the Free Software Foundation, and is not a statutory distribution clause for software using the GNU General Public License - only the original English version of the GNU General Public License has such effect.
Recommended tutorial: "PHP Tutorial"
The above is the detailed content of What is the difference between OpenJDK and OracleJDK?. For more information, please follow other related articles on the PHP Chinese website!