LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem running limewire (https://www.linuxquestions.org/questions/linux-newbie-8/problem-running-limewire-279919/)

djabbot 01-19-2005 07:14 PM

problem running limewire
 
its probably really simple but im having this problem. i installed limewire through a mandrake RPM repository and when i try to run it i get this:
Code:

[adam@localhost Programs]$ cd /
[adam@localhost /]$ limewire
/usr/bin/limewire: error: failed to set JAVACMD
/usr/bin/limewire: line 135: -mx32m: command not found
[adam@localhost /]$

i figured that ment i should install java, so i did but i still get the same error.

caps_phisto 01-19-2005 08:00 PM

You may need to setup your PATH variable.

To do so:

1. In a terminal type (Make sure you are in your home directory):
Code:

vi .bash_profile
2. Find the line that looks like:
Code:

PATH=$PATH:$HOME/bin
3. Edit that like to look like:
Code:

PATH=$PATH:$HOME/bin:<path to where you installed java here>/bin
That may fix the problem...

mrcheeks 01-19-2005 08:01 PM

is java in your path(PATH environment variable)? i suppose you use the default shell which might be bash.

look at the file /home/username/.bash_profile or /home/username/.bashrc

echo $PATH;
which java

djabbot 01-19-2005 09:24 PM

Quote:

Originally posted by caps_phisto
You may need to setup your PATH variable.

To do so:

1. In a terminal type (Make sure you are in your home directory):
Code:

vi .bash_profile
2. Find the line that looks like:
Code:

PATH=$PATH:$HOME/bin
3. Edit that like to look like:
Code:

PATH=$PATH:$HOME/bin:<path to where you installed java here>/bin
That may fix the problem...

so i saved it so it looked like this:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/usr/share/java/bin

export PATH
unset USERNAME

then tried again. same thing. there isnt a bin file in the java folder though. should there be one?

mrcheeks 01-20-2005 12:24 PM

install java from sun or blackdown or ibm, not the stranges or incomplete jdk out there...


All times are GMT -5. The time now is 11:44 AM.