LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Limewire install problem (https://www.linuxquestions.org/questions/linux-newbie-8/limewire-install-problem-228507/)

NoS Sr50 09-09-2004 04:59 AM

Limewire install problem
 
Code:

[robert@localhost robert]$ sh 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 prior to
running this program.
[robert@localhost robert]$

This is weird because I installed "j2re-1_4_2_05-linux-i586-rpm.bin" and java works in mozilla, I dont understand why I am getting this error message.

Oh, its KDE and im running Mandrake 10.0

egag 09-09-2004 06:13 AM

well... i read about this error before...; the solution is to add the dir. where java
is ( not sure but i think /usr/lib/java ) to your $PATH .

egag

NoS Sr50 09-09-2004 03:34 PM

How does one do that

NoS Sr50 09-09-2004 05:11 PM

anyone?

egag 09-09-2004 07:22 PM

i can't give the righ instructions now ( i'm on windows ),but if you do a
forum-search on " limewire ", i guess you'll find a howto...

egag

NoS Sr50 09-09-2004 09:07 PM

damn can anyone help me

tuxrules 09-09-2004 09:12 PM

see this thread

hope this helps

Tux,

NoS Sr50 09-09-2004 10:48 PM

Quote:

where did you install JVM. I think LimeWire cant find JVM because its installed in place your shell is not looking. Try to locate the directory of JVM and export the path

#PATH=$PATH:/path/to/JVM
#export PATH

this will add path to your default shell path and then you should be able to install.

Tux,
I dont know how to do this

J.W. 09-10-2004 12:47 AM

Per the LQ Rules, please do not bump your own thread until at least 24 hours have elapsed without a reply. Because the LQ membership is global, people in other time zones may not have seen this post yet, and thus it may take some time before a response is received.

http://www.linuxquestions.org/rules.php

NoS Sr50 - patience is a virtue as they say. Please give the rest of the LQ community a chance to reply. -- J.W.

NoS Sr50 09-10-2004 04:16 AM

sorry about that im new, can you help answer my question jw?

Mega Man X 09-10-2004 05:58 AM

http://www.linuxquestions.org/questi...171#post921171

Linux24 09-10-2004 10:28 AM

Here is how you do it.

First, find out where the installation routine put java. It probably put it in /usr/java or /usr/lib/java. Use the find command to find it.

find /usr -name 'java'

You will need the executable called "java" that is in the bin directory inside your java directory. Mine is something like...

/usr/java/j2re-20-2-4-2/bin/java

Now, you need to put a symlink to that in the directory /usr/bin (my favorite directory for dropping symlinks to make things be in my path

ln -s /usr/java/j2re-20-2-4-2/bin/java /usr/bin/java

You will need to be root to do that.

Then it will work just fine.

NoS Sr50 09-10-2004 04:12 PM

I tried to follow your instructions as best I could

Code:

[robert@localhost robert]$ su root
Password:
[root@localhost robert]# find /usr -name 'java'
/usr/share/doc/libdb4.1-devel-4.1.25/ref/java
/usr/share/apps/kdevappwizard/imports/java
/usr/share/apps/kdevfilecreate/file-templates/java
/usr/java
/usr/java/j2re1.4.2_05/bin/java
[root@localhost robert]# ln -s /usr/java/jr2re1.4.2_05/bin/java /usr/bin/java
[root@localhost robert]# ln -s /usr/java/jr2re1.4.2_05/bin/java/usr/bin/java
[root@localhost robert]# ./LimeWireLinux.bin
bash: ./LimeWireLinux.bin: Permission denied
[root@localhost robert]# sh 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 prior to
running this program.
[root@localhost robert]#

Did I do sometyhing wrong?

egag 09-10-2004 05:04 PM

[root@localhost robert]# ln -s /usr/java/jr2re1.4.2_05/bin/java /usr/bin/java
[root@localhost robert]# ln -s /usr/java/jr2re1.4.2_05/bin/java/usr/bin/java

The first line is oke, the second not...
but what's the output for: ls -l /usr/bin/java ?

egag

NoS Sr50 09-10-2004 07:34 PM

The output? what do you mean


All times are GMT -5. The time now is 06:19 PM.