LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-25-2005, 02:16 AM   #16
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

is this your computer? use su in order to get root access and then create the directories as needed.
 
Old 12-25-2005, 02:25 AM   #17
darkervisions
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 34

Original Poster
Rep: Reputation: 15
But how would I put the files that are inside the folders into that directory?
/usr/java/bin etc..
 
Old 12-25-2005, 02:32 AM   #18
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 the directory you extracted is called j2jreXXX (this is an example), as root do this command:

cp -R /home/your_regular_user_name/.gnome-desktop/j2jreXXX /usr/java/.

I'm not sure what the desktop directory for gnome is on ubuntu, but that would be the path to my gnome desktop directory.
 
Old 12-25-2005, 02:36 AM   #19
darkervisions
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 34

Original Poster
Rep: Reputation: 15
Kubuntu uses kde, but I got that done. So now what do I do with "/usr/java/jre1.5.0_06" ?
 
Old 12-25-2005, 02:44 AM   #20
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
Quote:
Originally Posted by darkervisions
Kubuntu uses kde, but I got that done. So now what do I do with "/usr/java/jre1.5.0_06" ?
Oh. your profile says ubuntu.

anyhoo... I'm not sure what the jre package has in it, as I use the sdk... but since you've got it installed, open up a shell term and type these commands in sequence:

export JAVA_HOME=/usr/java/jre1.5.0_06

*if there's a bin directory in JAVA_HOME, do the following command:

export PATH=$PATH:$JAVA_HOME/bin

then type the command to start limewire in the same shell. don't close your shell term.

limewire

see what happens.
 
Old 12-25-2005, 02:49 AM   #21
darkervisions
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 34

Original Poster
Rep: Reputation: 15
Yay progress!

running limewire returns:

root@ubuntu:/home/victor/Desktop# /opt/LimeWire/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
Java exec found in /usr/java/jre1.5.0_06/bin/
Suitable java version found [/usr/java/jre1.5.0_06/bin/java = 1.5.0_06]
Configuring environment...
Loading LimeWire:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY var
iable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$000(Unknown Source)
at sun.awt.X11GraphicsEnvironment$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at sun.awt.X11.XToolkit.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.Toolkit$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
at com.limegroup.gnutella.gui.Main.showInitialSplash(Main.java:67)
at com.limegroup.gnutella.gui.Main.main(Main.java:39)

******************************************************************
Something went wrong with LimeWire.
Maybe you're using the wrong version of Java?
(LimeWire is tested against and works best with with Sun's JRE, Java 1.4+)
The version of Java in your PATH is:
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.
 
Old 12-25-2005, 02:55 AM   #22
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
yeah, it's the gnus java that's killing you.

Okay, I didn't specify for you to get out of the root console after installing sun's java. so if you're still su'ed as root type exit. type the export commands again, as a regular user:

export JAVA_HOME=/usr/java/jre1.5.0_06
export PATH=$JAVA_HOME/bin:$PATH
limewire

let's see if it happens now.
 
Old 12-25-2005, 02:58 AM   #23
darkervisions
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 34

Original Poster
Rep: Reputation: 15
It worked! YAY! Thank you soo much for your time. Enjoy your holidays. =D
 
Old 12-25-2005, 03:00 AM   #24
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'll need to put those 2 export commands in your /etc/profile file (you edit this file as root) and then log out of your session and log back in your session. you should now be able to just run limewire without having to type those export commands in the command line.
 
  


Reply



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 10:07 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