openjdk vs oracle's jdk

1,615 views
Skip to first unread message

Alok Singh Mahor

unread,
Mar 31, 2013, 8:05:28 AM3/31/13
to iitdlug
Hi all
I guess most of the Linux distributions distribute openjdk. I also use openjdk primarily. but there are situations sometimes where oracle/sun's jdk is recommended. like these days I am working on Hadoop/Hbase.

I am little reluctant to switch to oracle jdk.

would anyone tell me what is drawback of openjdk? openjdk is old enough still things are written on top of sun's jdk.

I see openjdk will be adopted in future, Am I wrong if I think so?

or if there is very little difference between these two then should I be flexible to choose between these two according to situation?

thanks

satyaakam goswami

unread,
Mar 31, 2013, 9:10:38 AM3/31/13
to IITDLUG
would anyone tell me what is drawback of openjdk? openjdk is old enough still things are written on top of sun's jdk. 

I see openjdk will be adopted in future, Am I wrong if I think so?

or if there is very little difference between these two then should I be flexible to choose between these two according to situation?

apart from the political reasons of Free vs Non Free and reasons like the recent vulnerabilities , i see some ray of hope with http://www.infoworld.com/t/java-programming/red-hats-java-leadership-grows-oracles-wanes-214137 , for all practical purposes i go by the rule of thumb use what works , if its working do not try to change .
 
-Satya

Supreet Sethi

unread,
Apr 1, 2013, 5:20:41 AM4/1/13
to iit...@googlegroups.com
On Sun, Mar 31, 2013 at 5:35 PM, Alok Singh Mahor <alok...@gmail.com> wrote:
Hi all
I guess most of the Linux distributions distribute openjdk. I also use openjdk primarily. but there are situations sometimes where oracle/sun's jdk is recommended. like these days I am working on Hadoop/Hbase.


Most distributions carry both openjdk, oracle jdk and several other implementations. Unless that has changed in recent ones.
 
I am little reluctant to switch to oracle jdk.


Both are equally capable platforms like Satya pointed out and whatever works for you is great.


 
would anyone tell me what is drawback of openjdk? openjdk is old enough still things are written on top of sun's jdk.


I have not seen any comprehensive example of code written specifically for Sun JDK. Although one could write Sun JDK specific code, most specific code can be converted to platform agnostic by using Apache Commons library. Open JDK "is" open source version of Sun JDK. Sun JDK contains extra proprietary libraries. Oracle also may have and is capable of introducing optimizations which may or may not be available in Open JDK. Having said that, I have not found Open JDK any less capable. 

 
I see openjdk will be adopted in future, Am I wrong if I think so?


I think you will be looking at both versions being available side by side for very long time.


 
or if there is very little difference between these two then should I be flexible to choose between these two according to situation?

I would suggest just choose one and stick with it for lack of surprises.

 
thanks

--
--
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
 
---
You received this message because you are subscribed to the Google Groups "Linux User Group @ IIT Delhi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iitdlug+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Supreet Sethi
Ph IN: +919811143517
Ph Skype: d_j_i_n_n
Profile: http://www.google.com/profiles/supreet.sethi
Twt: http://twitter.com/djinn

Alok Singh Mahor

unread,
Apr 1, 2013, 9:15:58 AM4/1/13
to iitdlug
On Mon, Apr 1, 2013 at 2:50 PM, Supreet Sethi <supree...@gmail.com> wrote:
On Sun, Mar 31, 2013 at 5:35 PM, Alok Singh Mahor <alok...@gmail.com> wrote:
Hi all
I guess most of the Linux distributions distribute openjdk. I also use openjdk primarily. but there are situations sometimes where oracle/sun's jdk is recommended. like these days I am working on Hadoop/Hbase.


Most distributions carry both openjdk, oracle jdk and several other implementations. Unless that has changed in recent ones.
 
I am little reluctant to switch to oracle jdk.


Both are equally capable platforms like Satya pointed out and whatever works for you is great.


 
would anyone tell me what is drawback of openjdk? openjdk is old enough still things are written on top of sun's jdk.


I have not seen any comprehensive example of code written specifically for Sun JDK. Although one could write Sun JDK specific code, most specific code can be converted to platform agnostic by using Apache Commons library. Open JDK "is" open source version of Sun JDK. Sun JDK contains extra proprietary libraries. Oracle also may have and is capable of introducing optimizations which may or may not be available in Open JDK. Having said that, I have not found Open JDK any less capable. 

 
I see openjdk will be adopted in future, Am I wrong if I think so?


I think you will be looking at both versions being available side by side for very long time.


 
or if there is very little difference between these two then should I be flexible to choose between these two according to situation?

I would suggest just choose one and stick with it for lack of surprises.

thanks satya and supreet
Reply all
Reply to author
Forward
0 new messages