Categories
Programming

How fix Jmeter on a Mac ? Could not initialize class org.apache.jmeter.gui.util.FileDialoger

If you are facing the following error

2021-07-14 11:31:46.861 java[1419:13909] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function.

2021-07-14 11:31:46.979 java[1419:13909] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function.

Uncaught Exception java.lang.IllegalAccessError: class com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel (in unnamed module @0x157632c9) cannot access class sun.awt.shell.ShellFolder (in module java.desktop) because module java.desktop does not export sun.awt.shell to unnamed module @0x157632c9 in thread Thread[AWT-EventQueue-0,6,main]. See log file for details.
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.FileDialoger in thread 
Thread[AWT-EventQueue-0,6,main]. See log file for details.

The problem is that the team Dracula is failing

Solution is right below to change it to System

Jmeter => Look and Feel => System

Leave a Reply