Quote Originally Posted by dahveed3
I believe it is already installed on Knoppix 5.3.1 though, so perhaps you are looking to install the development kit?
Oddly enough on 5.3.1 the default java identifies as "kaffe-1.4.2". Sun's 1.5 jre is there, though. It's available under /usr/lib/jvm/java-1.5.0-sun. So, "/usr/lib/jvm/java-1.5.0-sun/jre/bin/java -version" returns "1.5.0_14"

"dpkg -l | grep sun-java" returns
Code:
ii  sun-java5-bin                        1.5.0-14-3                           
ii  sun-java5-demo                       1.5.0-14-3                           
ii  sun-java5-fonts                      1.5.0-14-3                           
ii  sun-java5-jdk                        1.5.0-14-3                           
ii  sun-java5-jre                        1.5.0-14-3                           
ii  sun-java5-plugin                     1.5.0-14-3
You can establish sun's version as the default using the aforementioned update-java-alternatives, but might break something in the process. You should be able to run software that needs version 1.5 by explicitly configuring it to use the version under /usr/lib/jvm/java-1.5.0-sun/jre.

On my 5.1.0 CD (from Dec06), Sun's java was the default and was already at 1.5 level. No idea why Klaus Knopper reverted to some other/older implementation now that Sun have released "the real thing" as open source ...