I cannot update to Java 6 Update 31 on my system. The files from sun gets a 404 when trying to download.
As far as I can see, it's the file name convention that has changed.
A fix is coming today :-)
Line 260: JAVA_REL="b04" is enough to fix this issue. It would be really nice to be able to not hardcode this value.
Added support for Java6u31 when the upstream script tags it as stable…
…. Other fixes and improveents, closes #3, closes #4, closes #7 and closes #8.