我正在运行Ubuntu12.10,正在尝试安装Netbeans 7.1(或更高版本)我有.sh文件,但它无法安装,错误出现在这里:
[2013-06-27 19:11:28.918]: at org.netbeans.installer.Installer.main(Installer.java:81)
[2013-06-27 19:11:28.918]: An error occured while initializing the NetBeans IDE installer UI.
[2013-06-27 19:11:28.918]: Most probably the running JVM is not compatible with the current platform.
[2013-06-27 19:11:28.919]: See FAQ at http://wiki.netbeans.org/FaqUnableToPrepareBundledJdk for more information.
[2013-06-27 19:11:28.919]: /usr/local/java/jre1.7.0_25/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
[2013-06-27 19:11:28.919]:
[2013-06-27 19:11:28.919]: Exception:
[2013-06-27 19:11:28.919]: java.lang.UnsatisfiedLinkError:
[2013-06-27 19:11:28.919]: /usr/local/java/jre1.7.0_25/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
[2013-06-27 19:11:28.919]:
[2013-06-27 19:11:28.919]: You can get more details about the issue in the installer log file:
[2013-06-27 19:11:28.919]: /root/.nbi/log/20130627191128.log
我在任何目录中都没有libXtst.so.6文件,而且我似乎在任何地方都找不到它来下载。有没有其他人遇到过这个问题,或者知道解决办法?
发布于 2015-08-12 02:32:46
这对我在露娜基础操作系统上很有效。
sudo apt-get install libxtst6:i386
发布于 2015-11-23 17:57:32
您的问题来自于您的JDK/JRE的32/64位版本...在共享库中搜索32位版本。
默认的JDK是32位版本。尝试在默认情况下安装64位,然后重新启动`.sh文件。
https://stackoverflow.com/questions/17355863
复制相似问题