LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java Problem With Limewire (https://www.linuxquestions.org/questions/linux-software-2/java-problem-with-limewire-569238/)

JonBL 07-14-2007 04:01 AM

Java Problem With Limewire
 
I've downloaded and installed Limewire 4.10 on my FC6 box. When I click Applications->Internet->LimeWire, LimeWire's splash screen briefly appears, then nothing happens. If I do this as root, I'm lead through language selection, the initialization wizard, then on "Finish", nothing happens.

On a terminal session startup, I've tried:
[jon@localhost ~]$ cd /opt/LimeWire
[jon@localhost 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.6.0/bin/
Suitable java version found [/usr/java/jre1.6.0/bin/java = 1.6.0]
Configuring environment...
Loading LimeWire:
Error: Couldn't find per display information

******************************************************************
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.1.2 20070626 (Red Hat 4.1.2-13)

Copyright (C) 2006 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.

Again, Limewire goes through startup, then exits.

My PATH variable is:
[jon@localhost LimeWire]$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/jon/bin

A search on jre with Package Manager shows that jre-1.6.0-fc6.i586 is installed. I have kernel.i686 installed.

I'me confused, here. Output displayed by /.runLime.sh seems contradictory ("you don't seem to have a valid JRE" and "Suitable java version found") And the version of java found on PATH matches stated requirements. What does "Error: Couldn't find per display information" mean?

Can anyone assist?

Nylex 07-14-2007 08:24 AM

You've also got gij installed. You could remove it and just put the path to Sun's JRE in your PATH.

muddywaters 07-14-2007 08:29 AM

Arghh these damn java apps can be frustrating. One thing to notice

Quote:

Originally Posted by JonBL
OOPS, you don't seem to have a valid JRE. LimeWire works best with Sun JRE available at http://www.java.com

Package Manager shows that jre-1.6.0-fc6.i586 is installed.

It says jre_etc_f6c. This is not genuine Sun java but an equivalent afaik. Maybe this is enough to throw Limewire off? I don't run that app so can't say with certainty. Is Frostwire in your repositories? This might be an easier alternative.

quick edit/Or just follow Nylex's advice ;) (Man I type (think) slow)

JonBL 07-15-2007 01:35 AM

Thanks, guys, for your suggestions.

Taking the hint provided by the output of /opt/LimeWire/runLime.sh, I've gritted my teeth and installed JRE from http://www.java.com. As root, I downloaded jre-6u2-linux-i586.bin (apparently, this is jre1.6.0-02) to my desktop, and followed instructions at http://ubuntuguide.org/wiki/Fedora_fc5 to install this package under /opt. These instructions follow Sun's install guide, although that guide is a little out of date. Executed instructions (making adjustments for inastall path) include creating a symbolic link from the newly installed libjavaplugin_oji_so under /opt to /usr/lib/mozilla/plugins/libjavaplugin_oji.so.

I end up with:
[jon@localhost ~]$ echo $PATH
/opt/jre1.6.0_02/bin:/usr/kerberos/bin:/opt/jre1.6.0_02/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/jon/bin
[jon@localhost ~]$ which java
/opt/jre1.6.0_02/bin/java
[jon@localhost ~]$ java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)

which is looking better than before...

Now, when I attempt http://www.java.com to verify my JRE install, the page briefly appears, then disappears! Simalarly, when I attempt to navigate to any LinusQuestions saved bookmarks, they also disappear. I can fix this by deleting the link to /usr/lib/mozilla/plugins/libjavaplugin.so. Then, I can post this reply to my thread. And now I've also lost my installed flash-plugin package which displays those advertisments at the top of a LinuxQuestions page.

And:
[jon@localhost ~]$ cd /opt/LimeWire
[jon@localhost LimeWire]$ ./runLime.sh
Starting LimeWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.6.0_02]
Configuring environment...
Loading LimeWire:
Error: Couldn't find per display information

******************************************************************
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.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)

I'm lost. Any suggestions about the problem with the libjavaplugin link, or why LimeWire still does not start up, or why LinuxQuestions pages seem to think flash-plugin is no longer there? (Guides suggest I need to install LimeWire after installing Sun's JRE, but I haven't done that, yet. I'm still using the original LimeWire install.)


All times are GMT -5. The time now is 06:04 PM.