Azitech

Azimout's Linux weblog

frostwire 4.18 and java 1.6

with 2 comments

Frostwire 4.18 and java 1.6.0 don’t play well together, the program exits on launch with:

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_0″
OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu7)
OpenJDK Server VM (build 14.0-b08, mixed mode)

This is all caused by:

java.lang.UnsatisfiedLinkError: Can’t load library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so

Running locate libmawt.so gave me:

/usr/lib/jvm/java-6-openjdk/jre/lib/i386/headless/libmawt.so
/usr/lib/jvm/java-6-sun-1.6.0.13/jre/lib/i386/headless/libmawt.so
/usr/lib/jvm/java-6-sun-1.6.0.13/jre/lib/i386/motif21/libmawt.so
/usr/lib/jvm/java-6-sun-1.6.0.13/jre/lib/i386/xawt/libmawt.so

So it was looking in the wrong place. I removed all openjdk-related packages (kept java-6-sun) and now it loads fine…

About these ads

Written by azimout

11/05/2009 at 14:37

Posted in Problems

2 Responses

Subscribe to comments with RSS.

  1. hello,
    is it possible that you type in the comments the command lines to remove the openjdk-related packages ? thanks.

    Alf-Red_5922

    18/05/2009 at 20:59

  2. What you should do is:
    1) run “aptitude search ~iopenjdk” to find installed packages with openjdk in their name
    2) remove each of them with “sudo aptitude purge _package_”

    azimout

    18/05/2009 at 21:22


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: