I had this problem with Limewire when I upgraded to j2re1.4.2_05 with Mandrake 10.1 Powerpack DVD.
My .bashprofile does not have the lines you refer to, it is just the default, but /etc/profile has the following lines which I added, which fixed the problem to which you refer: JAVA_HOME=/usr/lib/jdk-1.4.2_05/jre PATH=$PATH:$JAVA_HOME/bin CLASSPATH=$PATH:$JAVA_HOME/lib: export JAVA_HOME PATH CLASSPATH As you can see I changed the reference in JAVA_HOME to point to /usr/lib/jdk-1.4.2_05/jre/bin/ instead of at the symbolic link (/user/java/j2re1.4.2_05). This is probably not the most elegant solution and I am not even sure why there were symbolic links used in the first place. All I know is after I did this, without use of symbolic links, LimeWire worked - no more message about Java VM not installed. I always seem to struggle with symbolic links, and this got around it. Please let me know if this works for you. Ed On Sunday, 26 December 2004 12:52, 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 > > # Get the aliases and functions > if [ -f ~/.bashrc ]; then > . ~/.bashrc > fi > > # User specific environment and startup programs > > PATH=$PATH:$HOME/bin > > export PATH > unset USERNAME > > Any ideas? I have even tried a restart (yes, I had to once after > installing an older version & modifying!) > > Thanks, & Seasons Greetings etc, > > James
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________