[软件报告启动JProfiler时缺少awt错误

问题描述 投票:1回答:1

在ubuntu 14.04上,使用openJDK8,当我启动jprofiler时,它具有如下错误。我奋斗了一天,终于还是没能开始。

    java.lang.ExceptionInInitializerError
    at java.awt.Component.<clinit>(Component.java:593)
    at javax.swing.ImageIcon$2.run(ImageIcon.java:130)
    at javax.swing.ImageIcon.<clinit>(ImageIcon.java:100)
    at com.jprofiler.frontend.ab.a(ejt:315)
    at com.jprofiler.frontend.ab.<clinit>(ejt:47)
    at com.jprofiler.frontend.FrontendApplication.E(ejt:1038)
    at com.jprofiler.frontend.IntegrationApplication.main(ejt:8)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85)
    at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:62)
    Caused by: java.lang.NullPointerException
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1847)
    at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
    at java.awt.Toolkit.<clinit>(Toolkit.java:1670)
    ... 20 more
    java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
    at javax.swing.ImageIcon.<init>(ImageIcon.java:198)
    at javax.swing.ImageIcon.<init>(ImageIcon.java:217)
    at com.ejt.framework.gui.eo.<init>(ejt:37)
    at com.ejt.framework.gui.eo.a(ejt:17)
    at com.jprofiler.frontend.ab.a(ejt:315)
    at com.jprofiler.frontend.ab.<clinit>(ejt:47)
    at com.jprofiler.frontend.FrontendApplication.E(ejt:1038)
    at com.jprofiler.frontend.IntegrationApplication.main(ejt:8)

    at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:62)
java crash jprofiler
1个回答
0
投票

这是Java 8u242的一个新问题。它将很快在JProfiler 11.1.1中修复。临时解决方法是使用其他JRE运行JProfiler。

最新问题
© www.soinside.com 2019 - 2024. All rights reserved.