如何解决Workbench始终会自行关闭,.jar文件不会打开
我想在Mac上打开.jar文件。我正在使用JDK15。无论如何,每次我尝试通过终端打开.jar文件时,都会出现:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3 (file:/Users/danielamitteregger/Desktop/hamstersimulator-v29-06/lib/gluegen-rt.jar) to method java.lang.classLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of com.jogamp.common.os.NativeLibrary$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2020-11-09 06:12:21.601 java[22826:2172365] Apple AWT Internal Exception: NSWindow drag regions should only be invalidated on the Main Thread!
2020-11-09 06:12:21.601 java[22826:2172365] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException',reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff31d67b57 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff6abae5bf objc_exception_throw + 48
2 CoreFoundation 0x00007fff31d9034c -[NSException raise] + 9
3 AppKit 0x00007fff2ef8a5ec -[NSWindow(NSWindow_Theme) _postwindowNeedsToResetDragMarginsUnlesspostingdisabled] + 310
4 AppKit 0x00007fff2ef72052 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1416
5 AppKit 0x00007fff2ef71ac3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
6 libnativewindow_macosx.jnilib 0x00000001551ce3fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
7 ??? 0x000000011a3213f0 0x0 + 4734456816
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
Danielas-iMac:hamstersimulator-v29-06 danielamitteregger$
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。