Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have thoroughly read and re-read the existing threads on this installation issue. I am at my wits' end. Here was the original error:
morte@linux:~> rpm -i LimeWireLinux.rpm
error: Failed dependencies:
j2re >= 1.4.1 is needed by LimeWire-free-4.9.27-0
yet...
morte@linux:~> java -version
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
At this point I read the existing threads. My Java install is in /usr/java/j2re1.4.2_09 but $PATH says otherwise:
morte@linux:~> $PATH
bash: /home/morte/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin: No such file or directory
So I changed the path, using
export PATH=$PATH:/usr/java/j2re1.4.2_09/bin
I also added it to my .bashrc and now I get:
morte@linux:~> $PATH
bash: /home/morte/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin:/usr/java/j2re1.4.2_09/bin: No such file or directory
The problem seems to me that it is looking in both places for Java. I don't know why it consistently says "No such file or directory" because it clearly exists. Then, while messing around I removed the variable from export PATH=$PATH:/usr/java/j2re1.4.2_09/bin and when I entered
morte@linux:~> which java
it listed the correct path! But my joy was quickly replaced with horror when
morte@linux:~> rpm -i LimeWireLinux.rpm
bash: rpm: command not found
The problem wasn't permanent, because I edited my .bashrc but at that point I was ready to give up. If anyone can figure out where I went horribly wrong, I would be eternally grateful.
That fixed the "No such file..." error and echo $JAVA_HOME listed the correct directory, but LimeWire is still confused. Is there any way to simply remove the incorrect (or unwanted) path?
The rpm options permitted the installation but when initializing the app I get:
Starting LimeWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2_08]
Configuring environment...
Loading LimeWire:
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:81)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.Toolkit$2.run(Toolkit.java:748)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
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_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
Oy. This is getting to be more trouble than its worth...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.