LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux won't read Java VM want limewire (https://www.linuxquestions.org/questions/linux-newbie-8/linux-wont-read-java-vm-want-limewire-88659/)

CONWON 09-02-2003 10:53 PM

Linux won't read Java VM want limewire
 
I'm having a lot of trouble with getting LimeWire to see the VM i don't know what i have to do...maybe "mount" it or something like that. I don't know how to do that i just heard it somewhere Please Help :newbie:

Looking_Lost 09-03-2003 04:13 AM

In /etc/profile add

JAVA_HOME=the_complete_path_to_my_java_directory



EXPORT JAVA_HOME


i.e JAVA_HOME=/usr/local/j2re_blah_blah_blah

logout

log back in again

CONWON 09-04-2003 02:13 AM

Thanks but i need a little more almost like a walk through so that i can understand why I'm doing that but i will try to figure it out thanks

Looking_Lost 09-04-2003 02:19 AM

LimeWire will be looking for an environment variable JAVA_HOME
set to the path of your java directory.

If it doesn't find a JAVA_HOME variable it doesn't find java unless there is an other way.


Just to change

it should have been

export JAVA_HOME

not

EXPORT JAVA_HOME
:


Side note: You have installed Java, yeah?

Hangdog42 09-04-2003 07:36 AM

And if Java is installed, you may also need to add Java bin directory to your PATH. In either your /etc/profile or ~/.bashrc you can add

PATH=$PATH:/directory/to/jre/bin
export PATH


You can check if the new path has taken hold by entering $PATH in the console. If the java /bin directory is there, you're good to go. If not, close the console and open a new one.

You do this so when Limewire tries to execute, it can find the JRE files.

CONWON 09-05-2003 09:20 PM

Thanx i got it to work i really appreciate it...PEACE


All times are GMT -5. The time now is 12:24 AM.