https://bz.apache.org/bugzilla/show_bug.cgi?id=65300

--- Comment #3 from [email protected] ---
I can confirm this bug happens also on 5.4.1 running Java 16 on Windows 10:

java -version
openjdk version "16" 2021-03-16
OpenJDK Runtime Environment AdoptOpenJDK (build 16+36)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 16+36, mixed mode, sharing)

I've worked around it by adding the following to the end of line 112
(JAVA9_OPTS) in jmeter.bat::
 --add-opens=java.desktop/sun.awt.shell=ALL-UNNAMED


so line 112 becomes:
set JAVA9_OPTS=--add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens
java.desktop/sun.swing=ALL-UNNAMED --add-opens
java.desktop/javax.swing.text.html=ALL-UNNAMED --add-opens
java.desktop/java.awt=ALL-UNNAMED --add-opens
java.desktop/java.awt.font=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.text=ALL-UNNAMED
--add-opens=java.desktop/sun.awt.shell=ALL-UNNAMED

After adding that to the jmeter.bat file and running it JMeter 5.4.1 will
display, and you can click the File Open button to display the dialog normally.

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to