在Ubuntu 18.04上使用
使用
安装了JDK(使用“sudo apt install default-jdk”)后,问题仍然存在。
sudo apt install visualvm
安装VisualVM后,它无法启动,没有任何反应。使用
visualvm -J-Djava.util.logging.config.file=logging-jconsole.properties
启动会显示以下错误信息:java.lang.UnsatisfiedLinkError: no splashscreen in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at java.awt.SplashScreen$1.run(SplashScreen.java:124)
at java.awt.SplashScreen$1.run(SplashScreen.java:122)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:121)
at org.netbeans.core.startup.Splash.<init>(Unknown Source)
at org.netbeans.core.startup.Splash.getInstance(Unknown Source)
at org.netbeans.core.startup.Main.start(Unknown Source)
at org.netbeans.core.startup.TopThreadGroup.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
安装了JDK(使用“sudo apt install default-jdk”)后,问题仍然存在。