openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #00033
[Bug 211105] Re: Frostwire: Can't load library libmawt.so (Hardy Beta)
@Matthias: thanks for the tip off on where to look.
If i edit Frostwire's startup script "nano
/usr/lib/frostwire/runFrostwire.sh" i can see "export
AWT_TOOLKIT=MToolkit" at the top of the script. Commenting this line out
(as a user not root!!!) allows it to load with a couple of unrelated
Exceptions.
rob@server:~$ sudo update-java-alternatives -s java-6-openjdk
....
rob@server:~$ java -version
OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)
....
rob@server:~$ /usr/lib/frostwire/runFrostwire.sh
Starting FrostWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.6.0]
.....
A note to anyone trying to load Using the menu launcher or by typing
"frostwire"... the standard /usr/bin/frostwire script sets the
AWT_TOOLKIT export also before starting the runFrostwire.sh script
above. You'll need to "nano /usr/bin/frostwire" and comment it out also.
I installed the .deb from here: http://www.frostwire.com/?id=downloads
Specifically frostwire-4.13.5.i586.deb
Should i notify the upstream packager about these insecure (user
writeable) scripts i edited above?
--
Frostwire: Can't load library libmawt.so (Hardy Beta)
https://bugs.launchpad.net/bugs/211105
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in Source Package "openjdk-6" in Ubuntu: Incomplete
Bug description:
Frostwire will no longer load. I am currently using the Ubuntu Hardy Beta.
chesley@chezb-ubuntu-m:~$ frostwire
Starting FrostWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.6.0]
Configuring environment...
Loading FrostWire:
java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/motif21/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1666)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1684)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1610)
at java.awt.Toolkit.<clinit>(Toolkit.java:1632)
at com.limegroup.gnutella.gui.Main.showInitialSplash(Main.java:67)
at com.limegroup.gnutella.gui.Main.main(Main.java:39)
******************************************************************
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.6.0"
OpenJDK Runtime Environment (build 1.6.0-b08)
OpenJDK 64-Bit Server VM (build 1.6.0-b08, mixed mode)