roj*_*anu 7 64-bit java 32-bit jdk
我需要在我的 64 位 ubuntu 上运行 32 位 sun-jdk。我下载了JDK,运行时我得到
java.lang.UnsatisfiedLinkError: /opt/java/32/jdk1.6.0_31/jre/lib/i386/xawt/libmawt.so: libXtst.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:1807)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
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:1807)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
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:566)
at com.mucommander.Launcher.main(Launcher.java:466)
Exception in thread "main" java.lang.NullPointerException
at com.mucommander.text.Translator.get(Translator.java:258)
at com.mucommander.Launcher.main(Launcher.java:612)
Run Code Online (Sandbox Code Playgroud)
我安装了 libXtst6 和 libext6:i386 无济于事。
有任何想法吗?
小智 15
我有一个与缺少 libxtst.so 类似的问题。我通过在终端中运行以下命令来解决它:
sudo apt-get install libxtst6:i386
Run Code Online (Sandbox Code Playgroud)
希望能帮助到你!
归档时间: |
|
查看次数: |
25118 次 |
最近记录: |