UnsatisfiedLinkError when trying to start RubyMine in Debian x64 with 32-bit Sun JDK
I've just purchased RubyMine, having tested it on an installation of Ubuntu, and I now want to use it on my new Debian 64-bt installation.
I've installed a 32-bit version of Sun/Oracle's JDK 1.6.0_23 (I've had issues with 64-bit versions of Java in the past), and have set JDK_HOME to /opt/jdkxxx/, but when I run rubymine.sh, it throws up the following error:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.ide.plugins.PluginManager$3.run(PluginManager.java:148)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.UnsatisfiedLinkError: /opt/jdk1.6.0_23/jre/lib/i386/xawt/libmawt.so: libXext.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(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1720)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:560)
at com.intellij.idea.MainImpl._main(MainImpl.java:92)
at com.intellij.idea.MainImpl.start(MainImpl.java:84)
... 6 more
Any ideas? I thought that RubyMine would work independent of whether the OS is 32/64bit as long as the JVM is 32bit.
请先登录再写评论。
Hello Ben,
What window manager do you use? I have no problems on my 64bit Ubuntu machine with 32bin Oracle JDK 1.6.0_23.
Regards,
Oleg
I'm using Metacity, which is the default one for GNOME. I was also having problems getting Eclipse to work, so I think it was an issue with my installation of Java.
I've now switched over to a 32bit version of Debian, where it works fine, as there didn't seem to be any benefit to using a 64bit distribution.
Thanks for pointing this out, indeed it seems to be you Java installation problem.
Develop with pleasure!
Regards,
Oleg