Linux – Performance OracleJDK or OpenJDK

debianjavalinuxperformance

I am forced to using Java on my server and I am having a headache installing Java. I have an automated deployment script which installs the software and needs to be run to reinstall the server regularly in the cloud.

I am so stuck on which route to go down. So my question is, am I right to be concerned about the performance of OpenJDK? I am using this for a SOLR search server.

The current three options

OpenJDK7
 - Easy to automate install
 - Fairly fast
 - Fairly stable

Sun JDK6
 - Easy to automate install
 - Fairly fast
 - Fairly stable

Oracle JDK7
 - Nearly impossible to automate install
 - Fast 
 - Stable

REFERENCES

A. http://opengeo.org/publications/geoserver-production/

Performance

B. http://research.geodan.nl/2012/10/openjdk7-vs-oracle-jdk7-with-geoserver/

Performance 2

C. http://blog.gonzih.me/blog/2013/04/14/clojure-on-raspberry-pi-openjdk-vs-oracle-java-8/

Best Answer

No need for compromises!

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

There are also development builds of Java 8 available.

sudo apt-get install oracle-java8-installer
Related Question