【发布时间】:2011-11-17 08:16:13
【问题描述】:
我刚刚从jprofiler_linux_7_0_1.sh 下载并安装了 JProfiler 试用版。奇怪的是在安装过程中没有提示输入许可证信息。但一切似乎都很好,直到我尝试运行分析器:
# sh ./bin/jprofiler -c
(-c是在控制台运行jprofiler。我在网上某处看过,但不确定是不是真的。反正结果还是一样。)
这是我得到的结果:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/jdk1.6.0_26/jre/lib/amd64/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: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.install4j.runtime.splashscreen.JavaSplashController.show(Unknown Source)
at com.install4j.runtime.launcher.SplashEngine.showSplashScreen(Unknown Source)
at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
我来/opt/jdk1.6.0_26/jre/lib/amd64/xawt;它有 libmawt.so,但没有libXext.so.6。我试图卸载 jprofiler 并重新安装它,但出现同样的错误。
有人知道这里发生了什么吗?
【问题讨论】:
标签: java linux jvm profiling jprofiler