Some more informations on Fedora 8 and Java. A new hard drive was a good excuse to do a fresh Fedora install. Even with a fresh install, I had to remove all the i386 package (I have a x86_64 : no need to duplicate all package, this is a known problem of Fedora) and legacy gcj stuff.
I installed Java 7 since it is the future. But since it doesn’t have the crypto features yet, and since they are required for Glassfish, I installed the SUN JDK 6 as well.
So informations are bit misleading on the topic. Here is what I like to do :
Install jpackage-utils, then SUN JDK 6 RPM, then JPackage -compat package for the SUN rpm : java-1.6.0-sun-compat-1.6.0.04-1jpp.i586.rpm.
Manage the Java 6 / 7 switch with galternatives or (command line alternatives)
Remember Java 7 IcedTea install tips :
Mauriat Miranda tips and added the JDK as well (-devel) :
sudo yum install java-1.7.0-icedtea
I tested as per Gregory Gulick’s tips and it was OK.