From: Vampire <Va...@je...> - 2023-11-19 23:40:55
|
Oh, that's interesting and confusing. I didn't think the changes I made should fix the problem. That it does not start up at that point with `--verbose` is expected, as it is just a parameter for the launcher, but then jEdit itself complains it does not know the parameter. Can you please do one more try with this version: https://www.swisstransfer.com/d/a0fdbb79-d561-463c-98fb-314617e623d4 I'm curious whether it were my code changes that fixed it, or just me compiling it manually. If it works with this version too, it is just related to the compilation. Regarding the `IllegalAccessException`, good that we talked about it. :-D It seems there is a new version of the macOS integration plugin that is compatible with newer Java versions under a different name and it was not updated in the jEdit build. I fixed this now for the upcoming release. For now ad-hoc, please delete the `MacOSX.jar` from `jEdit.app/Contents/jars` and after starting jEdit install the "MacOS" plugin version 1.5, then restart jEdit. Cheers Björn Am So., 19. Nov. 2023 um 22:51 Uhr schrieb Gregory Garretson < sub...@ga...>: > Hi Björn, > > Things are getting a bit better on the MacOS front. When I run > /Applications/jEdit.app/Contents/MacOS/jedit —verbose, this is what I get: > > > Loading Application 'jEdit' > > Searching for a JRE. > > Searching for a Java 11 > > Found a Java 1.8.0_391 > > Looks like major version 8 > > No matching JRE found. > > Found a Java 21.0.1 > > Looks like major version 21 > > Java version qualifies > > Java Runtime Dylib Path: > '/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home/lib/libjli.dylib' > > Launchpath: > /Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home/lib/libjli.dylib > > Main Bundle Path: '/Applications/jEdit.app' > > Main Class Name: 'org.gjt.sp.jedit.jEdit' > > Option: -Dapple.awt.textantialiasing=true > > Option: -Dapple.laf.useScreenMenuBar=true > > Option: -Dapple.awt.antialiasing=true > > Command line passed to application: > > Arg 0: '/Applications/jEdit.app/Contents/MacOS/jedit' > > Arg 1: '-Djava.library.path=/Applications/jEdit.app/Contents/MacOS' > > Arg 2: > '-Djava.class.path=/Applications/jEdit.app/Contents/Java/Classes:/Applications/jEdit.app/Contents/Java/jedit.jar' > > Arg 3: '-DLibraryDirectory=/Users/gregorygarretson/Library' > > Arg 4: '-DDocumentsDirectory=/Users/gregorygarretson/Documents' > > Arg 5: > '-DApplicationSupportDirectory=/Users/gregorygarretson/Library/Application > Support' > > Arg 6: '-DCachesDirectory=/Users/gregorygarretson/Library/Caches' > > Arg 7: '-DApplicationDirectory=/Users/gregorygarretson/Applications' > > Arg 8: > '-DAutosavedInformationDirectory=/Users/gregorygarretson/Library/Autosave > Information' > > Arg 9: '-DDesktopDirectory=/Users/gregorygarretson/Desktop' > > Arg 10: '-DDownloadsDirectory=/Users/gregorygarretson/Downloads' > > Arg 11: '-DMoviesDirectory=/Users/gregorygarretson/Movies' > > Arg 12: '-DMusicDirectory=/Users/gregorygarretson/Music' > > Arg 13: '-DPicturesDirectory=/Users/gregorygarretson/Pictures' > > Arg 14: '-DSharedPublicDirectory=/Users/gregorygarretson/Public' > > Arg 15: '-DSystemLibraryDirectory=/Library' > > Arg 16: '-DSystemApplicationSupportDirectory=/Library/Application Support' > > Arg 17: '-DSystemCachesDirectory=/Library/Caches' > > Arg 18: '-DSystemApplicationDirectory=/Applications' > > Arg 19: '-DSystemUserDirectory=/Users' > > Arg 20: '-DUserHome=/Users/gregorygarretson' > > Arg 21: '-DSandboxEnabled=true' > > Arg 22: '-DDarkMode=true' > > Arg 23: '-DLaunchModifierFlags=0' > > Arg 24: '-DLaunchModifierFlagCapsLock=false' > > Arg 25: '-DLaunchModifierFlagShift=false' > > Arg 26: '-DLaunchModifierFlagControl=false' > > Arg 27: '-DLaunchModifierFlagOption=false' > > Arg 28: '-DLaunchModifierFlagCommand=false' > > Arg 29: '-DLaunchModifierFlagNumericPad=false' > > Arg 30: '-DLaunchModifierFlagHelp=false' > > Arg 31: '-DLaunchModifierFlagFunction=false' > > Arg 32: '-Dapple.awt.textantialiasing=true' > > Arg 33: '-Dapple.laf.useScreenMenuBar=true' > > Arg 34: '-Dapple.awt.antialiasing=true' > > Arg 35: 'org.gjt.sp.jedit.jEdit' > > Arg 36: '-background' > > Arg 37: '--verbose' > > > > > > Loading Application 'jEdit' > > Searching for a JRE. > > Searching for a Java 11 > > Found a Java 1.8.0_391 > > Looks like major version 8 > > No matching JRE found. > > Found a Java 21.0.1 > > Looks like major version 21 > > Java version qualifies > > Java Runtime Dylib Path: > '/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home/lib/libjli.dylib' > > Launchpath: > /Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home/lib/libjli.dylib > > Main Bundle Path: '/Applications/jEdit.app' > > Main Class Name: 'org.gjt.sp.jedit.jEdit' > > Option: -Dapple.awt.textantialiasing=true > > Option: -Dapple.laf.useScreenMenuBar=true > > Option: -Dapple.awt.antialiasing=true > > Command line passed to application: > > Arg 0: '/Applications/jEdit.app/Contents/MacOS/jedit' > > Arg 1: '-Djava.library.path=/Applications/jEdit.app/Contents/MacOS' > > Arg 2: > '-Djava.class.path=/Applications/jEdit.app/Contents/Java/Classes:/Applications/jEdit.app/Contents/Java/jedit.jar' > > Arg 3: '-DLibraryDirectory=/Users/~/Library' > > Arg 4: '-DDocumentsDirectory=/Users/~/Documents' > > Arg 5: '-DApplicationSupportDirectory=/Users/~/Library/Application Support' > > Arg 6: '-DCachesDirectory=/Users/~/Library/Caches' > > Arg 7: '-DApplicationDirectory=/Users/~/Applications' > > Arg 8: '-DAutosavedInformationDirectory=/Users/~/Library/Autosave > Information' > > Arg 9: '-DDesktopDirectory=/Users/~/Desktop' > > Arg 10: '-DDownloadsDirectory=/Users/~/Downloads' > > Arg 11: '-DMoviesDirectory=/Users/~/Movies' > > Arg 12: '-DMusicDirectory=/Users/~/Music' > > Arg 13: '-DPicturesDirectory=/Users/~/Pictures' > > Arg 14: '-DSharedPublicDirectory=/Users/~/Public' > > Arg 15: '-DSystemLibraryDirectory=/Library' > > Arg 16: '-DSystemApplicationSupportDirectory=/Library/Application Support' > > Arg 17: '-DSystemCachesDirectory=/Library/Caches' > > Arg 18: '-DSystemApplicationDirectory=/Applications' > > Arg 19: '-DSystemUserDirectory=/Users' > > Arg 20: '-DUserHome=/Users/~' > > Arg 21: '-DSandboxEnabled=true' > > Arg 22: '-DDarkMode=true' > > Arg 23: '-DLaunchModifierFlags=0' > > Arg 24: '-DLaunchModifierFlagCapsLock=false' > > Arg 25: '-DLaunchModifierFlagShift=false' > > Arg 26: '-DLaunchModifierFlagControl=false' > > Arg 27: '-DLaunchModifierFlagOption=false' > > Arg 28: '-DLaunchModifierFlagCommand=false' > > Arg 29: '-DLaunchModifierFlagNumericPad=false' > > Arg 30: '-DLaunchModifierFlagHelp=false' > > Arg 31: '-DLaunchModifierFlagFunction=false' > > Arg 32: '-Dapple.awt.textantialiasing=true' > > Arg 33: '-Dapple.laf.useScreenMenuBar=true' > > Arg 34: '-Dapple.awt.antialiasing=true' > > Arg 35: 'org.gjt.sp.jedit.jEdit' > > Arg 36: '-background' > > Arg 37: '--verbose' > > Unknown option: --verbose > > Usage: jedit [<options>] [<files>] > > <file> +marker:<marker>: Positions caret at marker <marker> > > <file> +line:<line>: Positions caret at line number <line> > > <file> +line:<line>,<column>: Positions caret at line number <line> and > column number <column> > > --: End of options > > -background: Run in background mode > > -nobackground: Disable background mode (default) > > -gui: Only if running in background mode; open initial view (default) > > -nogui: Only if running in background mode; don't open initial view > > -log=<level>: Log messages with level equal to or higher than this to > > standard error. <level> must be between 1 and 9. Default is 7. > > -newplainview: Client instance opens a new plain view > > -newview: Client instance opens a new view (default) > > -plugins: Load plugins (default) > > -noplugins: Don't load any plugins > > -restore: Restore previously open files (default) > > -norestore: Don't restore previously open files > > -reuseview: Client instance reuses existing view > > -quit: Quit a running instance > > -run=<script>: Run the specified BeanShell script > > -server: Read/write server info from/to $HOME/.jedit/server (default) > > -server=<name>: Read/write server info from/to $HOME/.jedit/<name> > > -noserver: Don't start edit server > > -settings=<path>: Load user-specific settings from <path> > > -nosettings: Don't load user-specific settings > > -nosplash: Don't show splash screen > > -startupscripts: Run startup scripts (default) > > -nostartupscripts: Don't run startup scripts > > -usage: Print this message and exit > > -version: Print jEdit version and exit > > -wait: Wait until the user closes the specified buffer in the server > > instance. Does nothing if passed to the initial jEdit instance. > > > Report bugs to http://sourceforge.net/tracker/?group_id=588&atid=100588 > > > jEdit does not launch at this point. If, however, I run > /Applications/jEdit.app/Contents/MacOS/jedit without the verbose argument, the > application launches, and I get the following: > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: Could not talk to EAWT: > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: > java.lang.IllegalAccessException: class macosx.OSXAdapter cannot access > class com.apple.eawt.Application (in module java.desktop) because module > java.desktop does not export com.apple.eawt to unnamed module @146aeb98 > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:394) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:714) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:495) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.OSXAdapter.setHandler(OSXAdapter.java:118) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.OSXAdapter.setQuitHandler(OSXAdapter.java:50) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.MacOSXPlugin$1.run(MacOSXPlugin.java:67) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.AccessController.doPrivileged(AccessController.java:400) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: Could not talk to EAWT: > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: > java.lang.IllegalAccessException: class macosx.OSXAdapter cannot access > class com.apple.eawt.Application (in module java.desktop) because module > java.desktop does not export com.apple.eawt to unnamed module @146aeb98 > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:394) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:714) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:495) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.OSXAdapter.setHandler(OSXAdapter.java:118) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.OSXAdapter.setAboutHandler(OSXAdapter.java:58) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.MacOSXPlugin$1.run(MacOSXPlugin.java:68) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.AccessController.doPrivileged(AccessController.java:400) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: OSXAdapter could not > access the About Menu > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: > java.lang.NullPointerException: Cannot invoke "Object.getClass()" because > "macosx.OSXAdapter.macOSXApplication" is null > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.OSXAdapter.setAboutHandler(OSXAdapter.java:63) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.MacOSXPlugin$1.run(MacOSXPlugin.java:68) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.AccessController.doPrivileged(AccessController.java:400) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: Could not talk to EAWT: > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: > java.lang.IllegalAccessException: class macosx.OSXAdapter cannot access > class com.apple.eawt.Application (in module java.desktop) because module > java.desktop does not export com.apple.eawt to unnamed module @146aeb98 > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:394) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:714) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:495) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.OSXAdapter.setHandler(OSXAdapter.java:118) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.OSXAdapter.setPreferencesHandler(OSXAdapter.java:75) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.MacOSXPlugin$1.run(MacOSXPlugin.java:69) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.AccessController.doPrivileged(AccessController.java:400) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: OSXAdapter could not > access the About Menu > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: > java.lang.NullPointerException: Cannot invoke "Object.getClass()" because > "macosx.OSXAdapter.macOSXApplication" is null > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.OSXAdapter.setPreferencesHandler(OSXAdapter.java:80) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.MacOSXPlugin$1.run(MacOSXPlugin.java:69) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.AccessController.doPrivileged(AccessController.java:400) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: Could not talk to EAWT: > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: > java.lang.IllegalAccessException: class macosx.OSXAdapter cannot access > class com.apple.eawt.Application (in module java.desktop) because module > java.desktop does not export com.apple.eawt to unnamed module @146aeb98 > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:394) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:714) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:495) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.OSXAdapter.setHandler(OSXAdapter.java:118) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.OSXAdapter.setFileHandler(OSXAdapter.java:91) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.MacOSXPlugin$1.run(MacOSXPlugin.java:70) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.AccessController.doPrivileged(AccessController.java:400) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: Could not talk to EAWT: > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: > java.lang.IllegalAccessException: class macosx.OSXAdapter cannot access > class com.apple.eawt.Application (in module java.desktop) because module > java.desktop does not export com.apple.eawt to unnamed module @146aeb98 > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:394) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:714) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:495) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.OSXAdapter.setHandler(OSXAdapter.java:118) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.OSXAdapter.setReOpenApplicationHandler(OSXAdapter.java:110) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > macosx.MacOSXPlugin$1.run(MacOSXPlugin.java:71) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.AccessController.doPrivileged(AccessController.java:400) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > > 9:37:33 PM [AWT-EventQueue-0] [error] OSXAdapter: at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > > > > At this point, clicking the jEdit icon also causes the application to > launch, which had not been the case before. I can send more info from > activity.log if you want. > > Thanks again for the help with this! > > Cheers, > Gregory > > > On Nov 18, 2023, at 6:14 PM, Vampire <Va...@je...> wrote: > > Unfortunately not much, it just shows that the symbol it tries to load > should be there as expected. > Can you please take > https://www.swisstransfer.com/d/81b03766-ab2a-483c-8429-02dff30fbc42, > replace jEdit.app/Contents/MacOS/jedit by that > make it executable if necessary with `chmod +x ...` > and then try again to do `jEdit.app/Contents/MacOS/jedit --verbose`? > > I don't expect it to work any better (maybe worse as I changed the version > recognition a bit), > but I also added explicit logging where it fails in the range we > identified already. > > Cheers > Björn > > > Am Fr., 17. Nov. 2023 um 20:31 Uhr schrieb Gregory Garretson < > sub...@ga...>: > >> Hi again, >> >> OK, sounds like things are getting narrowed down. Here’s the output from >> that command: >> >> >> find $(/usr/libexec/java_home -V 2>&1 | grep Contents/Home | rev | cut -d >> ' ' -f 1 | rev | sort -u) -type f -name libjli.dylib | xargs -I{} sh -c >> 'echo; echo {}; nm -gU "{}" | grep JLI_Launch’ >> >> find: Plug-Ins/JavaAppletPlugin.plugin/Contents/Home: No such file or >> directory >> >> >> /Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home/lib/libjli.dylib >> 0000000000008e38 T _JLI_Launch >> >> >> /Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/lib/libjli.dylib >> 0000000000008e38 T _JLI_Launch >> >> Not sure quite what that means, but I hope it helps somewhat. >> >> Best, >> Gregory >> >> >> >> >> > |