I would much prefer to go through the package repository, also I don't care at all about browsers which is where the instructions focus. I need to run files and nothing there even comes close to mentioning how to make it the default OS java runtime.
Both the 1.6 and 1.7 branches on the package repository are from late 2011 so I switching to v1.7 doesn't solve the issue.
Regardless I need the latest 1.6 branch rather then the latest 1.7.
It will not allow me to uninstall existing JRE as other packages depend on it (some of which OS critical). I have also since confirmed that the latest versions are simply not available via the pkg.
To perform an actual upgrade you are supposed to manually "install" into the same directory as the package while overwriting files, and that's just so unclean (and I am sure will bite me in the ass on the next actual package update).
I have since found this page
http://www.oracle.com/technetwork/java/javase/downloads/index.html
And installed the latest v1.6 u33 file and will test it soon. As it is, u26 is still the OS default so to run a program I type
$cd /programlocation/
PCName@/programlocation/$java -jar program.jar
it will run it off u26. I will need to replace the second line with:
PCName@/programlocation/$/usr/java/jre1.6.0_33/java -jar program.jar
BTW, the recommended default install location is /usr/java and it automatically creates the subfolder jre1.6.0_33
The install instructions are kinda weak so here is what you do.
1. Download the x86 and the x64 versions of 1.6u33 or 1.7u5 (you must install BOTH the x86 AND the x64 version if you have a AMD64 OS)
2. Default download directory is ~/Downloads/
3. Start terminal, go root.
4. #cd /usr/java
5. /usr/java#chmod -x ~/Downloads/<InstallerName>.sh
6. /usr/java#~/Downloads/<InstallerName>.sh
7. Repeat 5 and 6 for the other file (doesn't matter which order you install the 32bit and 64bit packages)