LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-19-2005, 07:14 PM   #1
djabbot
Member
 
Registered: Jan 2005
Location: Normal, IL
Distribution: Ubuntu
Posts: 88

Rep: Reputation: 15
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.
 
Old 01-19-2005, 08:00 PM   #2
caps_phisto
Member
 
Registered: Sep 2004
Location: NH
Distribution: FC6, FC1-4, RH9, Gentoo 2006.0/1, Slackware 10.1/2,11, Vector SOHO 5.0.1
Posts: 237

Rep: Reputation: 30
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...
 
Old 01-19-2005, 08:01 PM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
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
 
Old 01-19-2005, 09:24 PM   #4
djabbot
Member
 
Registered: Jan 2005
Location: Normal, IL
Distribution: Ubuntu
Posts: 88

Original Poster
Rep: Reputation: 15
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?

Last edited by djabbot; 01-19-2005 at 09:31 PM.
 
Old 01-20-2005, 12:24 PM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with limewire c_olin3404 Slackware 25 06-25-2007 10:54 PM
running limewire from fluxbox menu or desktop icon tuneout Linux - Software 2 08-15-2005 07:58 AM
problem with limewire pablowablo Linux - Software 0 08-05-2004 11:00 PM
Running Limewire in Suse 8.0 hbonds1 Linux - Software 4 03-28-2004 02:49 PM
Running Limewire barrys Mandriva 1 12-01-2003 04:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration