P
P
Pollux2011-06-17 23:28:24
Java
Pollux, 2011-06-17 23:28:24

What is the difference between JDK and OpenJDK?

What is the difference between JDK and OpenJDK?
Except that OpenJDK is free and open source.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
dvolk, 2011-06-17
@dvolk

OpenJDK is a fully open source implementation of the Java specifications. If without too much detail, then look at the list of packages in Sanovsky (Oracle) JDK. Anything that starts with java.* and javax.* will be in OpenJDK, anything that starts with com.sun.* will not. Not included are some graphics items and others that are covered by patents.

A
antalus, 2011-06-18
@antalus

OpenJDK will be the reference implementation of Java 7, so the Sun JDK will be phased out soon. blogs.oracle.com/henrik/entry/moving_to_openjdk_as_the

A
afiskon, 2011-06-18
@afiskon

As far as I understand, the main difference is in the license. For example, installing the JDK under FreeBSD is very cumbersome - you need to go to Sun, check the box that you accept the license, download, put it by hand. OpenJDK can be checked out automatically.

K
korvindest, 2014-10-29
@korvindest

OpenJDK, unlike Oracle JDK, does not contain a certain amount of proprietary code, for example, the deployment component (Java Web Start, Plugin) is completely absent there, in addition, the implementation of some algorithms for JDK and OpenJDK is different, since the closed part uses source codes whose license does not allow them free distribution.
Oracle JDK is currently being built as follows:
1. OpenJDK is built for a specific platform
2. The proprietary part is superimposed (gathered), this is approximately + 5% of the source / functionality
3. An installer is created (it is not only for Win)
In general, if you If you don't plan to run Java applets or Web Start applications, then you probably won't feel the difference between OpenJDK and OracleJDK.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question