【随手记录】Apache-JMeter部署银河麒麟报错: jmeter module java.desktop does not "opens sun.awt.X11" to unnamed module @5...

操作系统:

Linux 0012.novalocal 4.19.90-17.ky10.aarch64 #1 SMP Sun Jun 28 14:27:40 CST 2020 aarch64 aarch64 aarch64 GNU/Linux

JDK版本:

java 17.0.8 2023-07-18 LTS
Java(TM) SE Runtime Environment (build 17.0.8+9-LTS-211)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.8+9-LTS-211, mixed mode, sharing)

把Apache-JMeter-5.0部署到银河麒麟服务器,启动jmeter.sh时候报错:

An error occurred: Unable to make field private static java.lang.String
sun.awt.X11.XToolkit.awtAppClassName accessible:
module java.desktop does not "opens sun.awt.X11" to unnamed module @5fcd892a

JMeter官网下载最新Apache-JMeter-5.6.2重新部署就可以了!

JMeter官网下载慢,可以去共享的网盘找一份,校验下sha512是否和官网版本一致

certutil -hashfile apache-jmeter-5.6.2.zip SHA512
>b3cbea3791ed365b6aa3bb036d5dd3f73f0fe072500b9257119cb22225dca2e450def05963d549a5ad92e810632dc478996067535e1dad32ea4be377796de080 *apache-jmeter-5.6.2.zip

 

posted @ 2023-12-29 11:31  空知大仙人  阅读(334)  评论(2编辑  收藏  举报