-
Notifications
You must be signed in to change notification settings - Fork 167
Cannot set JAVA_HOME via LSEnvironment #111
Comments
Sorry for my delayed response. Can you open the |
|
Unfortunately, I'm not able to reproduce the issue. This is my output with a test app:
My system:
I cannot test on an M1 though, but I'm pretty confident this doesn't relate to the processor architecture. Are you sure you're really using universalJavaApplicationStub v3.2.0? There have been issues with Big Sur support in earlier versions which resulted in the console output you pasted here (especially Although it doesn't relate to the original problem (that Apple's App framework obviously does not export the JAVA_HOME variable), can you please share the output of the following command with me, so I can debug the afore mentioned issue regarding the
|
FYI: If you edited the |
I have same issue please how can i solve this |
@karokhaziz as I wrote above: In this certain case I wasn't able to reproduce the issue and setting Is your log output the same as @kiwicodemonkey's?
|
yes i have the same out put in the console haven't fount JAVA_HOME |
when I double click on universalJavaApplicationStub it work fine but when i double click on the icon app its not working i don't know why |
That's most likely a cache issue, as I wrote above:
Or you can copy the app to another directory and rename it. This should also start the app with a clean cache... |
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:
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:
Other information:
If I edit the script and set JAVA_HOME, the application launches and runs fine.
The text was updated successfully, but these errors were encountered: