-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reflective error #27
Comments
I suspect you are running on Java 9 or later. It looks they replaced com.applet.eawt.* with something different in Java 9 (more comments see at https://stackoverflow.com/questions/13978471/com-apple-eawt-what-exactly-i-should-install). |
From the java control panel, I have Java 8 too. v 291. from command line- I have java 15 |
Hi, anyway to fix these errors? |
@heshriti, I've just added support for native MacOs menu for Java 9+ in my fork: https://github.com/dzmipt/kdbStudio. Any feedback is welcomed. |
Hi Charles,
I have this error when I try to open studio in mac. It seems to work despite the warnings.
Still, any way these issues can be fixed?
thanks.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by studio.utils.OSXAdapter (file:studio.jar) to constructor com.apple.eawt.Application()
WARNING: Please consider reporting this to the maintainers of studio.utils.OSXAdapter
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
This version of Mac OS X does not support the Apple EAWT. ApplicationEvent handling has been disabled (java.lang.ClassNotFoundException: com.apple.eawt.ApplicationListener)
This version of Mac OS X does not support the Apple EAWT. ApplicationEvent handling has been disabled (java.lang.ClassNotFoundException: com.apple.eawt.ApplicationListener)
OSXAdapter could not access the About Menu
java.lang.NoSuchMethodException: com.apple.eawt.Application.setEnabledAboutMenu(boolean)
at java.base/java.lang.Class.getDeclaredMethod(Class.java:2633)
at studio.utils.OSXAdapter.setAboutHandler(Unknown Source)
at studio.ui.StudioPanel.registerForMacOSXEvents(Unknown Source)
at studio.ui.StudioPanel.(Unknown Source)
at studio.ui.StudioPanel.init(Unknown Source)
at studio.core.Studio$1.run(Unknown Source)
The text was updated successfully, but these errors were encountered: