Java Admin


Install/upgrade both the Java SE Runtime Environment (JRE) and the Java Development Kit (JDK).

Upgrade Procedure

  1. Find the Java download site:
  2. Download the latest Java SE Runtime Environment (JRE) and Java Development Kit (JDK).
  3. Save a copy of each to /src/util/
  4. 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 .
  5. 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
  6. Run both binaries, accepting any license agreements:
    [lethe] java% sudo ./jdk-6u22-linux-x64.bin
    [lethe] java% sudo ./jre-6u22-linux-x64.bin
  7. Watch as JRE and JDK unpack and inflate.
  8. For JRE, break and recreate the jre symlink.
  9. 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
  10. Repoint the Firefox Java plugin if possible (we need Firefox 3.0 installed before this will work).


  1. 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 (located in the lib/amd64/ directory of your JRE installation) in your Mozilla plugins directory.