LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-28-2007, 04:19 PM   #1
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Frostwire problems with JRE


Frostwire wants JRE, so I install it. Problem is, it seems to want 1.4, when I have 1.5...what do I do?

Here is the error:

Quote:
Starting FrostWire...
Java exec found in PATH. Verifying...
OOPS, you don't seem to have a valid JRE. FrostWire 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.5.x or newer from http://www.java.com
Java exec found in /usr/java/jre1.6.0_03/bin/
Suitable java version found [/usr/java/jre1.6.0_03/bin/java = 1.6.0_03]
Configuring environment...
Loading FrostWire:
java.lang.UnsatisfiedLinkError: /usr/java/jre1.6.0_03/lib/i386/motif21/libmawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Unknown Source)
at java.awt.Toolkit.<clinit>(Unknown Source)
at com.limegroup.gnutella.gui.Main.showInitialSplash(Main.java:67)
at com.limegroup.gnutella.gui.Main.main(Main.java:39)

/usr/java/jre1.6.0_03/bin/
******************************************************************
Something went wrong with FrostWire.
Maybe you're using the wrong version of Java?
(FrostWire 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.5.0"
gij (GNU libgcj) version 4.1.2 20070925 (Red Hat 4.1.2-27)

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.
 
Old 10-29-2007, 05:43 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; Slackware64-current (VM); Debian 12 (VM)
Posts: 8,290
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
The version of Java in your PATH is:
java version "1.5.0"
gij (GNU libgcj) version 4.1.2 20070925 (Red Hat 4.1.2-27)

Looks like you've got GNU Java and Sun JRE is needed. It wants any version after 1.4, so you're OK there. You have the right JRE (jre1.6.0_03), but it's either not in your PATH, or it's after the GNU.

Last edited by brianL; 10-29-2007 at 05:53 AM.
 
Old 10-29-2007, 10:46 AM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
The frostwire run script will attempt to use Motif for AWT rendering, when in fact it can use X itself (this is as a safeguard for those users using compiz or something similar). Unfortunately, the GCJ distributors don’t always include a working, usable Motif library, so you’ll be unable to use it.

The fix should be simple: launch the java interpreter WITHOUT exporting the environment variable “AWT_TOOLKIT” with the value MToolkit. That is, somewhere in the run script there should be a line that looks like:
Code:
export AWT_TOOLKIT=MToolkit
The fix is to delete or comment that line.

With that, you should be able to use frostwire with GCJ.
 
  


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
Setting up Frostwire-JRE error Barnes Linux - Desktop 1 07-01-2007 06:45 AM
jre problems ravi.xolve Linux - Software 5 06-01-2007 08:25 AM
Frostwire instalation problems GoldLinux670 Linux - Software 3 04-19-2007 08:58 PM
Problems installing jre iqbala Mandriva 4 12-27-2006 06:25 AM
JRE Problems sunilkgarg Linux - Newbie 2 09-02-2001 07:36 AM

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

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