Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm little bit confused about which implementation is better to use on production server? Are there any reason why not pick OpenJDK?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Which version the JDK are you interested in? If it's version 7 and above, then almost all code is shared between Oracle Java and Open JDK.

Check this - Moving to OpenJDK as the official Java SE 7 Reference Implementation. The OpenJDK is the open-source implementation of the Java SE 7 JSR (JSR 336). Now there is very little difference between the Oracle JDK and the OpenJDK.

Also check this Q&A

Q: What is the difference between the source code found in the OpenJDK repository, and the code you use to build the Oracle JDK?

A: It is very close - our build process for Oracle JDK releases builds on OpenJDK 7 by adding just a couple of pieces, like the deployment code, which includes Oracle's implementation of the Java Plugin and Java WebStart, as well as some closed source third party components like a graphics rasterizer, some open source third party components, like Rhino, and a few bits and pieces here and there, like additional documentation or third party fonts. Moving forward, our intent is to open source all pieces of the Oracle JDK except those that we consider commercial features such as JRockit Mission Control (not yet available in Oracle JDK), and replace encumbered third party components with open source alternatives to achieve closer parity between the code bases.OpenJDK 7 above is quite stable. It is the default VM on quite a few Linux distros.

However, why do you not want to use Oracle/Sun JRE/JDK?

share|improve this answer
    
Hi thank you for your answer. I want use JRE version 7. I asked if it matters because there isn't Oracle JRE 7 in my distro packages (Debian). OpenJDK JRE 7 is in testing which I finally don't want to use on my production server anyway. So I end up with building my own package from official Oracle JRE 7 and install it from this package. –  michal.kreuzman Apr 19 '13 at 13:53
    
@krocan - I don't understand why you have to build it. You download binaries from Oracle - alexander.holbreich.org/2011/11/java-7-on-debian –  user93353 Apr 19 '13 at 14:30
    
I just followed Debian wiki. I think it is better to have it included in your packaging tool so you can work with it just like anything else. –  michal.kreuzman Apr 19 '13 at 17:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.