Do we lose any functionality by using the openJDK instead of Oracle?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
2
down vote
favorite
My usage:
I am looking to install Java on Ubuntu 16.04. I don't do any heavy-duty coding, but I was curious what the differences were between Oracle and OpenJDK
What I ran to install
When I run the command
sudo update-alternatives --config java
as suggested here: https://poweruphosting.com/blog/install-java-ubuntu/, I get a prompt saying:
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 auto mode
1 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
* 2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode
Press <enter> to keep the current choice[*], or type selection number: 1
My attempts to answer this question:
I'm coming from OpenJDK - Oracle is better?
Here (OpenJDK vs. Oracle JDK for Android Studio) suggests OpenJDK is
- easier to debug but is
- slower
Any intense Java users care to weigh in?
Thanks!
java openjdk oracle
add a comment |Â
up vote
2
down vote
favorite
My usage:
I am looking to install Java on Ubuntu 16.04. I don't do any heavy-duty coding, but I was curious what the differences were between Oracle and OpenJDK
What I ran to install
When I run the command
sudo update-alternatives --config java
as suggested here: https://poweruphosting.com/blog/install-java-ubuntu/, I get a prompt saying:
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 auto mode
1 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
* 2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode
Press <enter> to keep the current choice[*], or type selection number: 1
My attempts to answer this question:
I'm coming from OpenJDK - Oracle is better?
Here (OpenJDK vs. Oracle JDK for Android Studio) suggests OpenJDK is
- easier to debug but is
- slower
Any intense Java users care to weigh in?
Thanks!
java openjdk oracle
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
My usage:
I am looking to install Java on Ubuntu 16.04. I don't do any heavy-duty coding, but I was curious what the differences were between Oracle and OpenJDK
What I ran to install
When I run the command
sudo update-alternatives --config java
as suggested here: https://poweruphosting.com/blog/install-java-ubuntu/, I get a prompt saying:
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 auto mode
1 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
* 2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode
Press <enter> to keep the current choice[*], or type selection number: 1
My attempts to answer this question:
I'm coming from OpenJDK - Oracle is better?
Here (OpenJDK vs. Oracle JDK for Android Studio) suggests OpenJDK is
- easier to debug but is
- slower
Any intense Java users care to weigh in?
Thanks!
java openjdk oracle
My usage:
I am looking to install Java on Ubuntu 16.04. I don't do any heavy-duty coding, but I was curious what the differences were between Oracle and OpenJDK
What I ran to install
When I run the command
sudo update-alternatives --config java
as suggested here: https://poweruphosting.com/blog/install-java-ubuntu/, I get a prompt saying:
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 auto mode
1 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
* 2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode
Press <enter> to keep the current choice[*], or type selection number: 1
My attempts to answer this question:
I'm coming from OpenJDK - Oracle is better?
Here (OpenJDK vs. Oracle JDK for Android Studio) suggests OpenJDK is
- easier to debug but is
- slower
Any intense Java users care to weigh in?
Thanks!
java openjdk oracle
java openjdk oracle
asked Jan 28 at 17:28
![](https://i.stack.imgur.com/zLzUN.png?s=32&g=1)
![](https://i.stack.imgur.com/zLzUN.png?s=32&g=1)
frank
979
979
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
Firstly, a JDK consists of a Java Runtime Environment (JRE) and various tools that help you to compile and debug Java code. The JRE is stand-alone and doesn't contain any compiling or debugging tools. So, if you're not into development and just want to run applications written in Java, then you can just install the JRE.
The Oracle JDK is maintained by Oracle (surprise) whereas OpenJDK is an open source implementation with contributions from the open Java community as well as Oracle. As far as I know, Oracle JDKâÂÂs build process builds from OpenJDK source code. So, since Oracle JDK gets its source from OpenJDK, there is no major technical difference between Oracle JDK and OpenJDK. My understanding is that all of the development and bug fixes happen in OpenJDK and then they are propagated to the Oracle JDK.
I'll quote this answer here:
In the days of Java 6, there used to be a big difference between the two of them, OpenJDK running slower and supporting less. However, nowadays, except for the java-web-plugin (which was rewritten by the community and named icedtea-web), they are exactly the same. Neither of the two versions is "wrong".
There are still people claiming OpenJDK is worse than Oracle's JDK, but it's become a myth.
There have been instances where people claim that they had issues while running OpenJDK and that got solved when switched over to Oracle JDK or vice versa. But these claims, generally, cannot be verified. Considering the fact that Oracle JDK gets its source from OpenJDK these claims will always be difficult to prove.
Also, on an unrelated note, you can create your own JDK provided you follow the Java language specifications. Many companies (like Twitter) have their own JDKs. Of course, there are certain processes (that I'm currently not aware of) you have to follow before you do that.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Firstly, a JDK consists of a Java Runtime Environment (JRE) and various tools that help you to compile and debug Java code. The JRE is stand-alone and doesn't contain any compiling or debugging tools. So, if you're not into development and just want to run applications written in Java, then you can just install the JRE.
The Oracle JDK is maintained by Oracle (surprise) whereas OpenJDK is an open source implementation with contributions from the open Java community as well as Oracle. As far as I know, Oracle JDKâÂÂs build process builds from OpenJDK source code. So, since Oracle JDK gets its source from OpenJDK, there is no major technical difference between Oracle JDK and OpenJDK. My understanding is that all of the development and bug fixes happen in OpenJDK and then they are propagated to the Oracle JDK.
I'll quote this answer here:
In the days of Java 6, there used to be a big difference between the two of them, OpenJDK running slower and supporting less. However, nowadays, except for the java-web-plugin (which was rewritten by the community and named icedtea-web), they are exactly the same. Neither of the two versions is "wrong".
There are still people claiming OpenJDK is worse than Oracle's JDK, but it's become a myth.
There have been instances where people claim that they had issues while running OpenJDK and that got solved when switched over to Oracle JDK or vice versa. But these claims, generally, cannot be verified. Considering the fact that Oracle JDK gets its source from OpenJDK these claims will always be difficult to prove.
Also, on an unrelated note, you can create your own JDK provided you follow the Java language specifications. Many companies (like Twitter) have their own JDKs. Of course, there are certain processes (that I'm currently not aware of) you have to follow before you do that.
add a comment |Â
up vote
3
down vote
accepted
Firstly, a JDK consists of a Java Runtime Environment (JRE) and various tools that help you to compile and debug Java code. The JRE is stand-alone and doesn't contain any compiling or debugging tools. So, if you're not into development and just want to run applications written in Java, then you can just install the JRE.
The Oracle JDK is maintained by Oracle (surprise) whereas OpenJDK is an open source implementation with contributions from the open Java community as well as Oracle. As far as I know, Oracle JDKâÂÂs build process builds from OpenJDK source code. So, since Oracle JDK gets its source from OpenJDK, there is no major technical difference between Oracle JDK and OpenJDK. My understanding is that all of the development and bug fixes happen in OpenJDK and then they are propagated to the Oracle JDK.
I'll quote this answer here:
In the days of Java 6, there used to be a big difference between the two of them, OpenJDK running slower and supporting less. However, nowadays, except for the java-web-plugin (which was rewritten by the community and named icedtea-web), they are exactly the same. Neither of the two versions is "wrong".
There are still people claiming OpenJDK is worse than Oracle's JDK, but it's become a myth.
There have been instances where people claim that they had issues while running OpenJDK and that got solved when switched over to Oracle JDK or vice versa. But these claims, generally, cannot be verified. Considering the fact that Oracle JDK gets its source from OpenJDK these claims will always be difficult to prove.
Also, on an unrelated note, you can create your own JDK provided you follow the Java language specifications. Many companies (like Twitter) have their own JDKs. Of course, there are certain processes (that I'm currently not aware of) you have to follow before you do that.
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Firstly, a JDK consists of a Java Runtime Environment (JRE) and various tools that help you to compile and debug Java code. The JRE is stand-alone and doesn't contain any compiling or debugging tools. So, if you're not into development and just want to run applications written in Java, then you can just install the JRE.
The Oracle JDK is maintained by Oracle (surprise) whereas OpenJDK is an open source implementation with contributions from the open Java community as well as Oracle. As far as I know, Oracle JDKâÂÂs build process builds from OpenJDK source code. So, since Oracle JDK gets its source from OpenJDK, there is no major technical difference between Oracle JDK and OpenJDK. My understanding is that all of the development and bug fixes happen in OpenJDK and then they are propagated to the Oracle JDK.
I'll quote this answer here:
In the days of Java 6, there used to be a big difference between the two of them, OpenJDK running slower and supporting less. However, nowadays, except for the java-web-plugin (which was rewritten by the community and named icedtea-web), they are exactly the same. Neither of the two versions is "wrong".
There are still people claiming OpenJDK is worse than Oracle's JDK, but it's become a myth.
There have been instances where people claim that they had issues while running OpenJDK and that got solved when switched over to Oracle JDK or vice versa. But these claims, generally, cannot be verified. Considering the fact that Oracle JDK gets its source from OpenJDK these claims will always be difficult to prove.
Also, on an unrelated note, you can create your own JDK provided you follow the Java language specifications. Many companies (like Twitter) have their own JDKs. Of course, there are certain processes (that I'm currently not aware of) you have to follow before you do that.
Firstly, a JDK consists of a Java Runtime Environment (JRE) and various tools that help you to compile and debug Java code. The JRE is stand-alone and doesn't contain any compiling or debugging tools. So, if you're not into development and just want to run applications written in Java, then you can just install the JRE.
The Oracle JDK is maintained by Oracle (surprise) whereas OpenJDK is an open source implementation with contributions from the open Java community as well as Oracle. As far as I know, Oracle JDKâÂÂs build process builds from OpenJDK source code. So, since Oracle JDK gets its source from OpenJDK, there is no major technical difference between Oracle JDK and OpenJDK. My understanding is that all of the development and bug fixes happen in OpenJDK and then they are propagated to the Oracle JDK.
I'll quote this answer here:
In the days of Java 6, there used to be a big difference between the two of them, OpenJDK running slower and supporting less. However, nowadays, except for the java-web-plugin (which was rewritten by the community and named icedtea-web), they are exactly the same. Neither of the two versions is "wrong".
There are still people claiming OpenJDK is worse than Oracle's JDK, but it's become a myth.
There have been instances where people claim that they had issues while running OpenJDK and that got solved when switched over to Oracle JDK or vice versa. But these claims, generally, cannot be verified. Considering the fact that Oracle JDK gets its source from OpenJDK these claims will always be difficult to prove.
Also, on an unrelated note, you can create your own JDK provided you follow the Java language specifications. Many companies (like Twitter) have their own JDKs. Of course, there are certain processes (that I'm currently not aware of) you have to follow before you do that.
edited Apr 9 at 9:18
answered Feb 1 at 9:39
![](https://i.stack.imgur.com/aUddo.jpg?s=32&g=1)
![](https://i.stack.imgur.com/aUddo.jpg?s=32&g=1)
Bilesh Ganguly
302111
302111
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000711%2fdo-we-lose-any-functionality-by-using-the-openjdk-instead-of-oracle%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password