I recently installed jenv (https://github.com/gcuisinier/jenv) and something about that install messed up Squirrel. I now get this warning upon launching Squirrel: "Error occurred initializing plugin: macosx". Stack trace is below. I am able to close the stack trace and connect to my databases, but there are some Squirrel menu items that are missing, such as Global Preferences. I have searched online for others having a similar issue but to no avail. Do you have a recommendation on how to remedy this? Thanks.
Stack trace:
java.lang.RuntimeException: java.lang.IllegalAccessException: class net.sourceforge.squirrel_sql.plugins.macosx.MacOSPlugin cannot access class com.apple.eawt.Application (in module java.desktop) because module java.desktop does not export com.apple.eawt to unnamed module @183081f
at net.sourceforge.squirrel_sql.plugins.macosx.MacOSPlugin.initialize(MacOSPlugin.java:151)
at net.sourceforge.squirrel_sql.client.plugin.PluginManager.initializePlugins(PluginManager.java:575)
at net.sourceforge.squirrel_sql.client.Application.executeStartupTasks(Application.java:770)
at net.sourceforge.squirrel_sql.client.Application.startup(Application.java:213)
at net.sourceforge.squirrel_sql.client.Main$2.run(Main.java:118)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:759)
at java.desktop/java.awt.EventQueue.access$500(EventQueue.java:97)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:712)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:706)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:89)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:729)
at net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent(Main.java:99)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:199)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.IllegalAccessException: class net.sourceforge.squirrel_sql.plugins.macosx.MacOSPlugin cannot access class com.apple.eawt.Application (in module java.desktop) because module java.desktop does not export com.apple.eawt to unnamed module @183081f
at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361)
at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:589)
at java.base/java.lang.reflect.Method.invoke(Method.java:556)
at net.sourceforge.squirrel_sql.plugins.macosx.MacOSPlugin.initialize(MacOSPlugin.java:89)
... 19 more