OpenJDK latest on SL 6

This is just a note on java-1.6.0-openjdk-1.6.0.0-1.43.1.10.6.el6_2.x86_64 (SL 6.2 release on 15 Feb 2012).


All data here is from Scientific Linux 6.2 (so some details will vary across upstream and its other clones).

Name        : java-1.6.0-openjdk           Relocations: (not relocatable)
Version     : 1.6.0.0                           Vendor: Scientific Linux
Release     : 1.43.1.10.6.el6_2             Build Date: Wed 15 Feb 2012 12:43:18 AM EST
Install Date: Thu 16 Feb 2012 05:57:50 AM EST      Build Host: sl6.fnal.gov
Group       : Development/Languages         Source RPM: java-1.6.0-openjdk-1.6.0.0-1.43.1.10.6.el6_2.src.rpm
Size        : 84420946                         License: ASL 1.1, ASL 2.0, GPL+, GPLv2, GPLv2 with exceptions, LGPL+, LGPLv2, MPLv1.0, MPLv1.1, Public Domain, W3C
Signature   : DSA/SHA1, Wed 15 Feb 2012 09:49:29 AM EST, Key ID b0b4183f192a7d7d
Packager    : Scientific Linux
URL         : http://icedtea.classpath.org/
Summary     : OpenJDK Runtime Environment
Description :
The OpenJDK runtime environment.

Location for the main binaries is:

/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/

… which might be a little confusing to those of us who are used to seeing 64-bit binaries under /usr/lib64, but what do we know? I mean, if you’re going to LSB-ize $JAVA_HOME why make it consistent with everything else?

By the way, the 64-bit java plugin for Firefox can be found here:

/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaPlugin.so

and has been installed with the following link in the alternatives subsystem:

/etc/alternatives/libjavaplugin.so.x86_64

I guess now I’ve gone and spoiled the surprise. Sorry.

Not going to get into the whole “is OpenJDK binary compatible with Oracle Java” thing here. There are still some differences that can ruin your whole day. Let’s just say that for now I wouldn’t run WebLogic 11g on OpenJDK (maybe ever). Open source stuff needs to be approached on a case by case basis.