Install/upgrade both the Java SE Runtime Environment (JRE) and the Java Development Kit (JDK).
- Find the Java download site:
http://java.sun.com/javase/downloads/index.jsp
- Download the latest Java SE Runtime Environment (JRE) and Java Development Kit (JDK).
- Save a copy of each to /src/util/
- Copy the JRE and JDK .bin files to /util/java:
lethe {/util/java} > sudo cp /tmp/jre-6u22-linux-x64.bin .
lethe {/util/java} > sudo cp /tmp/jdk-6u22-linux-x64.bin .
- Change permissions, make them runnable:
[lethe] java% sudo chmod 700 jdk-6u22-linux-x64.bin
[lethe] java% sudo chmod 700 jre-6u22-linux-x64.bin
- Run both binaries, accepting any license agreements:
[lethe] java% sudo ./jdk-6u22-linux-x64.bin
[lethe] java% sudo ./jre-6u22-linux-x64.bin
- Watch as JRE and JDK unpack and inflate.
- For JRE, break and recreate the jre symlink.
- For JDK, break and recreate the default and latest symlinks.
[lethe] java% ls -al default latest
lrwxrwxrwx 1 root root 12 Apr 21 2010 default -> jdk1.6.0_20/
lrwxrwxrwx 1 root root 12 Apr 21 2010 latest -> jdk1.6.0_20/
[lethe] java% sudo rm default latest
[lethe] java% sudo ln -s jdk1.6.0_22/ default
[lethe] java% sudo ln -s jdk1.6.0_22/ latest
- Repoint the Firefox Java plugin if possible (we need Firefox 3.0 installed before this will work).
-
Java Runtime Environment (Sun)
Version: 1.6.0_12
SeaMonkey 1.1, Unsupported
Firefox 3.0: Supported
Important! Known Issues
Yes, Sun has finally implemented the Java Plugin on x86_64 in JRE 1.6.0_12. This works for Firefox 3.0 or later and pre-release versions of SeaMonkey 2.0.
To set up support for Java applets, create a symbolic link to libnpjp2.so (located in the lib/amd64/ directory of your JRE installation) in your Mozilla plugins directory.
- http://java.sun.com/javase/downloads/index.jsp
- http://plugindoc.mozdev.org/linux-amd64.html