Update MainClass in Info.plist (OSX)#440
Open
sonique6784 wants to merge 1 commit intojava-decompiler:masterfrom
Open
Update MainClass in Info.plist (OSX)#440sonique6784 wants to merge 1 commit intojava-decompiler:masterfrom
sonique6784 wants to merge 1 commit intojava-decompiler:masterfrom
Conversation
According the the MANIFEST itself, the main class is: **org.jd.gui.App** ``` Manifest-Version: 1.0 JD-Core-Version: 1.1.3 JD-GUI-Version: 1.6.6 Main-Class: org.jd.gui.App SplashScreen-Image: org/jd/gui/images/jd_icon_128.png ``` Launching with org.jd.gui.OsxApp triggers an exception. ``` Exception in thread "main" java.lang.IllegalAccessError: class org.jd.gui.OsxApp (in unnamed module @0x43556938) cannot access class com.apple.eawt.Application (in module java.desktop) because module java.desktop does not export com.apple.eawt to unnamed module @0x43556938 at org.jd.gui.OsxApp.main(Unknown Source) ```
6 tasks
|
I'm not sure this is correct. The OsxApp class does exist. I was able to run JD-GUI on Sonoma without making the change. What is the output of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
According the the MANIFEST itself, the main class is: org.jd.gui.App
Launching with org.jd.gui.OsxApp triggers an exception.