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

Cannot set JAVA_HOME via LSEnvironment #111

@kiwicodemonkey

Description

@kiwicodemonkey

I'm submitting a…

  • bug report

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:

  1. Add following to plist:
		<key>LSEnvironment</key>
		<dict>
			<key>JAVA_HOME</key>
			<string>Contents/Plugins/zulu-8.jre/Contents/Home</string>
		</dict>

  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions