Apps :: JAVA install problems



I'm new to DSL.

I downloaded the latest jre from java.sun.com (jre1.5.0_08).
ran the file ./jre1.5.0_08-i586-linux.bin /home/.
which created a directory jre1.5.0_08, but on the install I noticed that there was an error about the rt.jar file.

Anyway it didn't say failed, so I continued on..

I tried the command /home/jre1.5.0_08/bin/java and get class not found error.

Am I missing something? does it need a path set to something? (JAVA_HOME? CLASS_PATH?)

This is a fresh install of dsl and java, nothing else touched.

New problem!!!

I found that DSL has a MyDSL which contains downloadable app's...The problem is that I started to download the jre, however my connection got cut off which caused MyDSL to act funny, in that when I click on the various buttons, I no longer get any files/downloads in the box.

How do I fix either problem so I can run a java app?

I just extracted the jdk to ~/jdk and added this to ~/.bash_profile and it works perfectly.

export PATH=~/bin:~/jdk/bin:~/jdk/jre/lib:$PATH

so you just need to add the paths to the bin and lib folders to the PATH variable.

Tried that, still no luck.

I tried to download the jre1.5.0.uci, but couldn't really figure out how to install it?  I kept getting either a mount help screen come up or I need to be root to do this....

I might try reinstalling dsl ... or am I just a dumb arse?

Please read up on the myDSL system.
For terminals, use mydsl-load.

Next Page...
original here.