From 721e3ae839556cade09f83474fee71c74d6384be Mon Sep 17 00:00:00 2001 From: sonique6784 Date: Mon, 5 Feb 2024 21:17:50 +1100 Subject: [PATCH] Update Info.plist 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) ``` --- src/osx/resources/Info.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/resources/Info.plist b/src/osx/resources/Info.plist index 264b3fd3..bb2fe9dc 100644 --- a/src/osx/resources/Info.plist +++ b/src/osx/resources/Info.plist @@ -145,7 +145,7 @@ JavaX - MainClass org.jd.gui.OsxApp + MainClass org.jd.gui.App JVMVersion 1.8+ ClassPath \$JAVAROOT/${JAR} WorkingDirectory \$JAVAROOT