Operating Systems > Linux and UNIX

Limewire/Java problem...

(1/2) > >>

TheGreatPoo:
When trying to install Limewire for Gnutella (a Java Based App), I get this error in the console:

[shane@bauman02 shane]$ su
[root@bauman02 shane]# chmod a+x /home/shane/LimeWireLinux.bin
[root@bauman02 shane]# /home/shane/LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM proior to running this program.
[root@bauman02 shane]#

I just reinstalled J2SE from Sun's website and it still doesn't work. It says I need a Java "Virtual Machine".  Where can I find one of those and why didn't that install with the J2SE RPM from Sun's website?

Thanx in advance for any help!!!  :D

CaptainCool:
I have the same exact problem and even posted on here asking about it but never figured it out yet.

flap:
You have the java vm, but the system can't find it as it's not in your path. You need to add the location of the java executable to your path (e.g. /usr/java/blah/bin)

TheGreatPoo:
Please excuse my noobness, but where in the command do I put that path to the VM?  For example, should it look like this:


--- Code: ---
--- End code ---

(This is assuming that the VM is in /usr/bin/java/)

Thank you for the help so far.  I hope I can figure this out.

TheGreatPoo:

quote: Oh its easy done, example on my system
PATH=/usr/j2re1.4.1_01/bin:$PATH
That will update the path variable.
--- End quote ---


That did it!!!  It took me a little while to find the VM (as I am still new to Linux and am still trying to learn what different folders mean and where stuff goes when it installs) but I entered the command just like you said, then launched the installer!  YAY!!!  :D

 
quote: Also add that to your your .bashlogin or whatever.
--- End quote ---


I have no idea how to do that.

How can I add a Java shell script to the K-menu?  I know I can add apps but I have never been able to add LimeWire to the K-menu.  Any ideas?

Thank you void X11 for your help and thanx to others who replied!  

Navigation

[0] Message Index

[#] Next page

Go to full version