Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed RH8 and I was trying to install Limewire and it said it needed Java VM to run. So I downloaded the newest java virtual machine from Sun and installed it. The problem is, Limewire still does not see it. It says there is no java in the path. the path to the actual java is /usr/java/jre... How do I set this PATH?
Figure out what directory it's looking for java vm in. You can do this by opening it's configure script in a text editor (assuming it uses configure or some other ascii config file.) Then set the env var it's looking for by using set or export or whatever syntax your shell uses to set env vars.
I'm having the same problem. I typed the command into the "Konsole" and got the same result..."No Virtual Machine could be found from your PATH environment variable"
I typed it just like this, and yes that is j2re. I've tried it with the /bin, without the bin, with j2re...and with jre...
Ummm...okay its possible that you have java installed some where else as well. Do:
locate java | more
and make sure that you do not have the java executable installed anywhere else besides /usr/java/j2re1.4.1_02/bin . If you do then it is possible that the limewire installer is using the java executable from somewhere else besides /usr/java/j2re1.4.1_02/bin .
I checked it and it isnt installed anywhere else but in /usr/java/j2re1.4.1_02/bin . I am sure the problem is not with limewire as I was trying to complie a java program using javac and its path variable wasnt updated either. I had to type complete path in order to make it work. I dont know what the problem is ..anyway,
Thanks for your help crashed_again and others
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.