Si habéis intentado ejecutar Frostwire en Ubuntu Hardy (aunque creo que también pasa en otras versiones) os habréis dado cuenta de que no ejecuta…:(
Si lo intentamos ejecutar desde una terminal, el resultado es algo como esto:
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/i386/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.(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-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode, sharing)
Esto es debido a que «el java» que se instala en Ubuntu con los «ubuntu-restricted-extras» es OpenJDK. Para soluciona el error hay que instalar el java de Sun, así:
$ sudo aptitude install sun-java6-jre
Y una vez instalado correr este comando:
$ sudo update-java-alternatives -s java-6-sun
Y ahora probamos a correr Frostwire. Debería funcionar.
Cacahuetes recientes