JAVA install problems


Forum: Apps
Topic: JAVA install problems
started by: iqofone

Posted by iqofone on Aug. 31 2006,23:42
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.

Posted by iqofone on Sep. 01 2006,02:41
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?

Posted by _pathos on Sep. 01 2006,06:22
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.

Posted by iqofone on Sep. 03 2006,22:38
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?

Posted by ^thehatsrule^ on Sep. 06 2006,21:58
Please read up on the myDSL system.
For terminals, use mydsl-load.

Posted by iqofone on Sep. 06 2006,23:19
I have tried to install it 3 times, always the same problem. However, I did an install using ext3 file system, and it worked first time (using the jre from sun).  To prove my point I repeated my steps using ext2 filesystem and had the same problem that I started with.

It doesn't bother me what filesystem I used, I initially chose ext2 because it said better for slow computers.  What is the difference?

Posted by ^thehatsrule^ on Sep. 07 2006,04:52
It doesn't matter if you use ext3 or ext2 in DSL because it will be mounted as ext2 only - so your thoughts on the fs probably aren't in the right direction.

What kind of DSL installation did you use?  The jre UCI version works out-of-the-box on a livecd for me.  Perhaps it is conflicting with another jre installation.

Also, you shouldn't be root when you are using myDSL - I don't think it will even let you.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.