in a terminal: cd to the directory that has your java install; change to the 
subdirectory "bin"; type "./java -version"

If that doesn't run java and tell you stuff about it, it's either not 
executable (which suggests you did the install wrong, or not as root perhaps) 
or really screwed up. Having old versions around can sometimes cause confusion 
if it finds one binary for java but mismatched libs and .jars.

If it does run when you do it like that, then you mistyped your path stuff, or 
perhaps the thing isn't executable as the user your trying to run the program 
as.

-----Original Message-----
From: Josenildo Marques <[EMAIL PROTECTED]>
Sent: Dec 26, 2004 11:46 AM
To: newbie@linux-mandrake.com
Subject: Re: [newbie] Java VM Problems

On Sun, 2004-12-26 at 10:52 +0000, J wrote:
> Hi All,
> 
> I've just installed J2RE 1.4.2_06 on my machine.
> 
> Trouble is, I'm trying to install LimeWire (the P2P program), and I keep 
> getting told that there is no VM on my machine..... Thats crap! I know 
> full well there is! :-)
> 
> Now, It's installed to /usr/java (where I always used to install it), 
> and my .bash_profile has been suitably amended for the latest version of 
> the J2RE.
> 
> I'm at a loss as to why it wont work.
> 
> .bash_profile is pasted below, just in case I have done something wrong 
> whilst modifying it, although all I have done is changed j2re1.4.2_03 to 
> j2re1.4.2_06, to bring it up to date with the latest version.
> 
> export JAVA_HOME=/usr/java/j2re1.4.2_06
> export PATH=$JAVA_HOME/bin:$PATH
> # .bash_profile
> 
I have the latest LimeWire here and this line on .bashrc

export PATH=/usr/java/j2re1.4.2_05/bin/:$PATH


-- 
Josenildo Marques 
ICQ 289971493 +++ Homepage http://planeta.terra.com.br/arte/cyb/ 
Fotolog http://fotolog.terra.com.br/imaginis 
usuário Linux registrado No. 341648 
13:43:20 up 10:52, 2 users, load average: 0.16, 0.16, 0.15
********************** 
"A imaginação é mais importante que o conhecimento." Albert Einstein




____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to