LinuxQuestions.org
Visit Jeremy's Blog.
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 12-09-2005, 02:01 PM   #1
darkervisions
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 34

Rep: Reputation: 15
Problems installing LimeWire


victor@ubuntu:~/LimeWire$ sh ./runLime.sh
Starting LimeWire...
Java exec found in PATH. Verifying...
OOPS, you don't seem to have a valid JRE. LimeWire works best with Sun JRE available at http://www.java.com
OOPS, unable to locate java exec in /usr/lib/ hierarchy
You need to upgrade to JRE 1.4.x or newer from http://www.java.com
ls: /usr/java/j*: No such file or directory
OOPS, unable to locate java exec in /usr/java/ hierarchy
You need to upgrade to JRE 1.4.x or newer from http://www.java.com
ls: /opt/j*: No such file or directory
OOPS, unable to locate java exec in /opt/ hierarchy
You need to upgrade to JRE 1.4.x or newer from http://www.java.com
I installed the JRE.. I'm confused, please help.
 
Old 12-09-2005, 03:13 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
What JRE did you install?
 
Old 12-09-2005, 03:15 PM   #3
darkervisions
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 34

Original Poster
Rep: Reputation: 15
The latest one from java.com
 
Old 12-09-2005, 05:09 PM   #4
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
I am using the latest jdk/jre with the latest limewire without problems. Are you sure that sun's jvm is picked by default?(for example if you have for example gcj installed)
 
Old 12-09-2005, 05:22 PM   #5
darkervisions
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 34

Original Poster
Rep: Reputation: 15
I have no idea what you mean.
 
Old 12-10-2005, 01:42 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I think you have two versions of java, the gcj and suns java. You need to remove gcj and setup suns java as the default. If you search for "Ubuntu+sun+java" on google, there are articles that will guid you on how to set it up.
 
Old 12-25-2005, 01:23 AM   #7
darkervisions
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 34

Original Poster
Rep: Reputation: 15
OKay, I have JRE working. I even tested it on www.runescape.com with firefox. I gave http://ubuntuguide.org/#limewire a try. When I go to K -> Lost & Found -> LimeWire the little icon just bounces. When I try to run runLime.sh in Konsole, it says:
Unable to locate java exec in /usr/lib/ hierarchy
ls: usr/java/j*: no such file or directory [etc..]
When I do:
Java -version

I get:
victor@ubuntu:~$ java -version
java version "1.4.2"
gij (GNU libgcj) version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I don't know what to do. :P

Last edited by darkervisions; 12-25-2005 at 01:25 AM.
 
Old 12-25-2005, 01:39 AM   #8
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
You're still not using sun's jre. You're output is showing:

GNU libgcj

try this in your shell.

export JAVA_HOME=/usr/java/j2*

where j2* is the correct directory name of the sun installed jre or sdk. then:

export PATH=$PATH:$JAVA_HOME/bin

then run limewire in the shell and see if it starts up.
If it does, you'll need to set your JAVA_HOME and PATH environnment variables permenantly. You can do this in your /etc/profile file. After changing this file, you'll need to log out and log back in.
 
Old 12-25-2005, 01:45 AM   #9
darkervisions
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 34

Original Poster
Rep: Reputation: 15
The file or folder file:///usr/java/ does not exist.
 
Old 12-25-2005, 01:54 AM   #10
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
then you didn't install sun's java.

http://java.sun.com

If you want to do java programming in the future, you'll want to get the sdk.

I don't know what ubuntu uses, if has support for rpm. if it does you want to get the rpm in the self-extracting bin. After installing sun's java, set the JAVA_HOME and PATH variables.
 
Old 12-25-2005, 02:00 AM   #11
darkervisions
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 34

Original Poster
Rep: Reputation: 15
I installed it, but maybe I didn't install it right...
 
Old 12-25-2005, 02:02 AM   #12
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
what package did you install? what was the filename? I saw that you said java.com, and I don't know if they are allowed to distribute sun's java. Does ubuntu support rpm?
 
Old 12-25-2005, 02:05 AM   #13
darkervisions
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 34

Original Poster
Rep: Reputation: 15
I downloaded jre-1_5_0_06-linux-i586.bin to my desktop. I did
cd /home/victor/Desktop/
chmod +x jre-1_5_0_06-linux-i586.bin
./jre-1_5_0_06-linux-i586.bin

All it did was make a folder on my desktop.
I don't think ubuntu can hangle rpm files.
 
Old 12-25-2005, 02:10 AM   #14
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
what is the directory name of the extracted directory?

my guess is you need to move (or copy) that directory to /usr/java (create this directory if need be) and then set up your environment variables.
 
Old 12-25-2005, 02:15 AM   #15
darkervisions
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 34

Original Poster
Rep: Reputation: 15
How am I supposed to do that, i don't have permission in that directory. =p I did:
sudo mkdir /usr/java/
 
  


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
Installing Limewire Help hongman Linux - Software 3 02-27-2005 07:50 AM
Problems Installing Limewire macaldwell Linux - Software 6 06-01-2004 10:54 PM
Having problems installing Limewire on linux guyfromcanada Linux - Software 12 05-16-2004 09:11 PM
Installing Limewire Burtonsnow Linux - Software 2 04-16-2004 08:49 PM
installing limewire zexter Linux - Software 3 11-02-2003 01:52 PM

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

All times are GMT -5. The time now is 01:04 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