You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does the appbundler has support for Java 17?
Now, when I try to bundle app with Java 17, startup of the application fails with JRE Load Error.
Output of the command 'Contents/MacOS/JavaAppLauncher' is:
@dionisi We have something in the Mac App Store that uses both Java 17 and AppBundler. However, we use Adoptium, not Zulu. Maybe that has something to do with it?
I also use adoptium, but I'd think zulu should also work.
We do also have to do some things in order to make sure it works. For example, in our build script we make sure to do the following:
Set the JVM plugin to a folder with the format XXX.jdk. MacOS needs to have an extension on that folder, though not necessarily .jdk. I wonder if macOS is also picky about other parts of the path, and maybe doesn't like the -11 part of the plugin folder? In our case we use the path Moneydance.app/Contents/Plugins/vm.jdk
Under the jvm path we remove the Contents/MacOS/libjli.dylib file which is redundant anyway since it is also at Contents/Home/lib/libjli.dylib (at least on adoptium).
Does the appbundler has support for Java 17?
Now, when I try to bundle app with Java 17, startup of the application fails with JRE Load Error.
Output of the command 'Contents/MacOS/JavaAppLauncher' is:
When I compared the folder structure for Java 11 and Java 17, it seems there is (again) a change in the structure:
More specific, the directory jli has been removed
The text was updated successfully, but these errors were encountered: