LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-28-2005, 06:53 PM   #1
arst05
Member
 
Registered: Nov 2004
Location: Arkansas
Distribution: RHEL 3 Enterprise/Fedora Core 3
Posts: 38

Rep: Reputation: 15
Post FC3 installed Limewire crashes with wrong Java version


I downloaded and installed Limewire in Fedora Core 3, I have the latest version of Sun's Java installed. After installing the RPM for Limewire and when I try to execute the program the following error is received;


UIDefaults.getUIError: failed to locate UI class:TextAreaUI
java.lang.reflect.InvocationTargetException
at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, boolean, java.lang.Class[], jvalue, jvalue, boolean) (/usr/lib/libgcj.so.5.0.0)
at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0)
at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/us r/lib/libgcj.so.5.0.0)
at com.limegroup.gnutella.gui.Main.main(java.lang.String[]) (Unknown Source)
Caused by: java.lang.NullPointerException
at javax.swing.text.JTextComponent.setCaretPosition(int) (/usr/lib/libgcj.so. 5.0.0)
at javax.swing.text.JTextComponent.select(int, int) (/usr/lib/libgcj.so.5.0.0 )
at javax.swing.text.JTextComponent.selectAll() (/usr/lib/libgcj.so.5.0.0)
at com.limegroup.gnutella.gui.GUILoader.displayError(java.lang.String) (Unkno wn Source)
at com.limegroup.gnutella.gui.GUILoader.showCorruptionError(java.lang.Throwab le) (Unknown Source)
at com.limegroup.gnutella.gui.GUILoader.load(java.lang.String[], java.awt.Fra me) (Unknown Source)
at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, boolean, java.lang.Class[], jvalue, jvalue, boolean) (/usr/lib/libgcj.so.5.0.0)
...3 more

******************************************************************
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+)
 
Old 02-28-2005, 08:11 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Does Java work with any other programs?
 
Old 02-28-2005, 08:26 PM   #3
arst05
Member
 
Registered: Nov 2004
Location: Arkansas
Distribution: RHEL 3 Enterprise/Fedora Core 3
Posts: 38

Original Poster
Rep: Reputation: 15
Re: Java limewire

Yes, it works perfectly with Firefox and all other programs that use Java.
 
Old 02-28-2005, 11:52 PM   #4
arst05
Member
 
Registered: Nov 2004
Location: Arkansas
Distribution: RHEL 3 Enterprise/Fedora Core 3
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by rickh
Does Java work with any other programs?
Do you have any tips on how to make it point to the correct place or how to make it work?
 
Old 03-01-2005, 11:38 AM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Nope, Sorry. I use Xnap, a java based open nap client, and don't have a problem, but don't have a clue what knd of specific issues Limewire may have.
 
Old 03-01-2005, 12:06 PM   #6
arst05
Member
 
Registered: Nov 2004
Location: Arkansas
Distribution: RHEL 3 Enterprise/Fedora Core 3
Posts: 38

Original Poster
Rep: Reputation: 15
Re: program

Which program do you use, do you have a link for it and is it free?
 
Old 03-10-2005, 07:52 AM   #7
vanstra
Member
 
Registered: Mar 2005
Distribution: Ubuntu 10.04 - CentOS 5.4
Posts: 40

Rep: Reputation: 15
The symbolic link /usr/bin/java is poiting to the wrong java executable.
Locate the right java executable (for example /usr/java/jre1.5.0_01/bin/java).
Delete the symbolic link and make a new symbolic link to the right java executable.
In my case it was:

ln -s /usr/java/jre1.5.0_01/bin/java /usr/bin/java

After that everything worked.

Vanstra
 
Old 03-20-2005, 01:11 AM   #8
djones427
LQ Newbie
 
Registered: Mar 2005
Location: Coupland, TX
Distribution: FC 3
Posts: 3

Rep: Reputation: 0
fix for limewire (java)

thanks vanstra for the advice. it worked for me as well. my sym links pointed to /etc/alternatives. not sure why they were there.

-dax
 
Old 03-20-2005, 01:08 PM   #9
arst05
Member
 
Registered: Nov 2004
Location: Arkansas
Distribution: RHEL 3 Enterprise/Fedora Core 3
Posts: 38

Original Poster
Rep: Reputation: 15
Symlink Pointer

What is the command to delete the symlink, and how do I find where it is pointed
to?
 
Old 03-21-2005, 01:02 AM   #10
djones427
LQ Newbie
 
Registered: Mar 2005
Location: Coupland, TX
Distribution: FC 3
Posts: 3

Rep: Reputation: 0
re: symbolic link pointer

I found the symbolic link in /usr/bin. It looked like this java -> /etc/alternatives/java. There were also symbolic links for jar and javac. I did a change directory to /usr/bin (cd /usr/bin) and then used the remove command to remove the link just as if it were a file (rm java). I also used "rm jar" and "rm javac" to remove those links as well. Upon inspection I found that, in my case, the java, jar, and javac links in /etc/alternatives were pointed to shell scripts (ex. /usr/share/java/libgcj-java-placeholder.sh). Something to do with "jpackage.org JVM packages".

At any rate, once I had removed the symbolic links in /usr/bin, I followed vanstra's advice to create new links pointing to my currently installed version of Java. In my case the command was this: ln -s /usr/java/jre1.5.0_02/bin/java /usr/bin/java

That seemed to do the trick. Now when I load my java apps (such as limewire) it is able to correctly find and load Java via the new symbolic link.

Hope this helps.

-Dax
 
Old 03-21-2005, 12:32 PM   #11
vanstra
Member
 
Registered: Mar 2005
Distribution: Ubuntu 10.04 - CentOS 5.4
Posts: 40

Rep: Reputation: 15
Nice to hear that it worked.

Vanstra
 
  


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
LimeWire not working im sure javas installed whats wrong? usernameddr Mandriva 12 01-24-2005 07:30 AM
LimeWire Install. Yes. Java VM is installed ThePenguin Linux - Software 2 09-05-2004 06:12 AM
Shell says wrong Java version.. pipelok-j Linux - Software 2 06-16-2004 06:32 PM
java is installed but still cant install limewire zexter Linux - Software 12 12-21-2003 09:44 AM
installed wrong version of up2date RPM -- did I screw things up? killjoyce Linux - Newbie 1 10-16-2003 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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