This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Description
I'm submitting a…
Short description of the issue/suggestion:
Setting JAVA_HOME via the LSEnvironment key in Info.plist is not recognised when running universalJavaApplicationStub.
Steps to reproduce the issue/enhancement:
- Add following to plist:
<key>LSEnvironment</key>
<dict>
<key>JAVA_HOME</key>
<string>Contents/Plugins/zulu-8.jre/Contents/Home</string>
</dict>
- Run app
What is the expected behavior?
Application launches and runs
What is the current behavior?
Script complains that no java environment is found.
Please tell us about your environment:
- universalJavaApplicationStub version: 3.2.0
- macOS version: Big Sur 11.2.3 (M1)
- Java version(s): zulu8.52.0.23-ca-jre8.0.282-macosx_aarch64
Other information:
If I edit the script and set JAVA_HOME, the application launches and runs fine.