LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-28-2004, 09:45 PM   #1
Vid
Member
 
Registered: Jan 2004
Distribution: Debian, FedoraC1, Slack 9.1, MDK 9.2/10.0
Posts: 55

Rep: Reputation: 15
limewire is installed but wont start...


im on Fedora C1 and just installed limewire via RPM and all its dependencies too (java, xerces, oldjavalayer,, etc...) . i assume to start the program is type 'limewire' in terminal since it wasnt added to my toolbar/menu. but when i do so i get this error back ...



# limewire
which: no java in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/jasmine/bin)
which: no java in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/jasmine/bin)
/usr/bin/limewire: error: failed to set JAVACMD
/usr/bin/limewire: line 137: -mx32m: command not found
#


im assuming its a java problem but i dont know what else to do as ive allready installed many java related packages that were required for the limewire package to installation.

anyone know what i might be able to do??? thnx
 
Old 03-28-2004, 10:00 PM   #2
QtCoder
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware 12.0 RC1
Posts: 129

Rep: Reputation: 15
Hi.

Since you said you've already installed Java, you probably just need to add the Java directory to your path. It sounds like it's not finding the Java executable.

So, to add it to your path, you must find where java was installed. It's usually some place like /usr/local/j2re.../bin. Once you've found the directory, you can place it in your path by adding the directory to your .bashrc file in your home directory. Use a text editor to place the directory at the end of the PATH=/usr/bin..... line like this:

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/local/j2re.../bin

Also, with Limewire, I think they recommend using the runLimeWire executable.

If you can't find a Java directory, you might not have installed the Java runtime environment. From java.com, you can get the runtime (looks like j2re-1.4.1_01, or something like that).

Hope this helps.

Last edited by QtCoder; 03-28-2004 at 10:02 PM.
 
Old 03-28-2004, 10:18 PM   #3
Vid
Member
 
Registered: Jan 2004
Distribution: Debian, FedoraC1, Slack 9.1, MDK 9.2/10.0
Posts: 55

Original Poster
Rep: Reputation: 15
edit...

i unpacked ther j2rewhatever-rpm.bin and then installed the j2rewhatever.rpm and it installed ok so now im assuming ive got java working.. but limewire still wont start for same reason so i may have to edit paths and locations as your were mentioning before.. im prety sure on my box Java is located at
/usr/java/j2re1.4.2_04/bin so ill try to add that to my path and see what happens....

Last edited by Vid; 03-28-2004 at 10:31 PM.
 
Old 03-28-2004, 10:36 PM   #4
Vid
Member
 
Registered: Jan 2004
Distribution: Debian, FedoraC1, Slack 9.1, MDK 9.2/10.0
Posts: 55

Original Poster
Rep: Reputation: 15
this is what my .bashrc file in home directory looks like...

# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi


and as i said before im pretty sure the path my my java is '/usr/java/j2re1.4.2_04/bin'

so i added the line 'PATH=/usr/java/j2re1.4.2_04/bin' to my .bashrc file.. and it appears to have fixed nothing.. so im either adding the line to the wring place or am missing something...?!?!?1 bahh

Last edited by Vid; 03-28-2004 at 11:10 PM.
 
Old 03-29-2004, 04:05 AM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
if i remember correctly, limewire is looking for your JAVA_HOME environment variable.

http://www.linuxquestions.org/questi...ight=java_home

one way to set the JAVA_HOME environment variable system wide is explained in this thread.
 
Old 03-29-2004, 11:50 AM   #6
QtCoder
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware 12.0 RC1
Posts: 129

Rep: Reputation: 15
I don't recall having to deal with JAVA_HOME for Limewire, but maybe I'm wrong.

Oh, and I forgot one thing. You must type 'export PATH' after you define the PATH variable in the .bashrc file. Sorry about leaving that major piece of info out.

Perhaps your PATH environment variable is read from some other file. It depends on your distro. Do an ls -a on your home directory to see the bash related files there. You might try .bash_profile.

To see if the PATH is really the issue, first type 'java' at the command line. Do you get something saying that the command cannot be found? If so, use this command:

export PATH=$PATH:/usr/java/j2re1.4.2_04/bin

That should set the java path for the duration of your terminal being open. Hopefully you can now type 'java' and get a list of the arguments to the java command. That will prove that it works.

If the export thing worked, try placing

PATH=$PATH:/usr/java/j2re1.4.2_04/bin
export PATH

in the .bashrc or .bash_profile file (or append the java directory if PATH is already set), then close your terminal and reopen it to apply the settings.

Hopefully something I said will work...

Good luck.

Last edited by QtCoder; 03-29-2004 at 11:57 AM.
 
  


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
LimeWire wont install... need help! Jengo Linux - Newbie 3 08-31-2004 09:16 AM
Installed new Video card and X wont start.. need help please! Fear58 Linux - Hardware 1 07-18-2004 10:01 AM
Limewire installed htennent Linux - Newbie 2 04-06-2004 02:39 PM
Xfree86 acts as if installed but wont start on gentoo bling bling Linux - Software 1 11-19-2003 02:11 PM
can't get limewire installed mcaldwell Linux - Software 15 06-29-2003 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:27 AM.

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