Skip to content

Conversation

sonique6784
Copy link

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)

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)
```
@rgov
Copy link

rgov commented Feb 5, 2024

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 /usr/libexec/java_home -V? I am using temurin installed through Homebrew.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants