nitinsreevstv commented on issue #5937:
URL: https://github.com/apache/jmeter/issues/5937#issuecomment-2171771341
While running the ./jmeter, showing this.
`WARN StatusConsoleListener The use of package scanning to locate plugins is
deprecated and will be removed in a future release
WARN StatusConsoleListener The use of package scanning to locate plugins is
deprecated and will be removed in a future release
WARN StatusConsoleListener The use of package scanning to locate plugins is
deprecated and will be removed in a future release
WARN StatusConsoleListener The use of package scanning to locate plugins is
deprecated and will be removed in a future release
java.lang.UnsatisfiedLinkError: Can't load library:
/usr/lib/jvm/java-17-openjdk-amd64/lib/libawt_xawt.so
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398)
at java.base/java.lang.Runtime.load0(Runtime.java:755)
at java.base/java.lang.System.load(System.java:1957)
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at
java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
at
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
at
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
at
java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315)
at
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:285)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2403)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
at java.base/java.lang.System.loadLibrary(System.java:1993)
at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1388)
at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1386)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1385)
at java.desktop/java.awt.Toolkit.initStatic(Toolkit.java:1423)
at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1397)
at java.desktop/java.awt.Component.<clinit>(Component.java:624)
at java.desktop/javax.swing.ImageIcon$2.run(ImageIcon.java:145)
at java.desktop/javax.swing.ImageIcon$2.run(ImageIcon.java:143)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at
java.desktop/javax.swing.ImageIcon.createNoPermsComponent(ImageIcon.java:142)
at java.desktop/javax.swing.ImageIcon$1.run(ImageIcon.java:114)
at java.desktop/javax.swing.ImageIcon$1.run(ImageIcon.java:111)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.desktop/javax.swing.ImageIcon.<clinit>(ImageIcon.java:111)
at
org.apache.jmeter.plugin.PluginManager.installPlugin(PluginManager.java:59)
at org.apache.jmeter.plugin.PluginManager.install(PluginManager.java:45)
at org.apache.jmeter.JMeter.start(JMeter.java:487)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.jmeter.NewDriver.main(NewDriver.java:259)
An error occurred: Could not initialize class java.awt.Toolkit`
Can someone please help me in this
Java version - 17
OS - Ubuntu 23
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]