-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JAVA_HOME not set properly when "system" is set to be global #422
Milestone
Comments
smlchen
changed the title
JAVA_HOME not set property when "system" is set to be global
JAVA_HOME not set properly when "system" is set to be global
Feb 20, 2024
andrewflbarnes
added a commit
that referenced
this issue
Mar 16, 2024
fix: Skip setting `JAVA_HOME` when using system JDK #422
andrewflbarnes
added a commit
to andrewflbarnes/jenv
that referenced
this issue
Mar 22, 2024
Use the current env JAVA_HOME when using the system version, or use the JAVA_HOME from when it was last set.
andrewflbarnes
added a commit
to andrewflbarnes/jenv
that referenced
this issue
Mar 30, 2024
Use java from the path with jenv shims and locations removed. Set JAVA_HOME to be the linked java home from above, if it exists, otherwise search for OS utility programs which can pinpoint the javahome like libexec java_home or alternatives. Fallback to whatever JAVA_HOME is currently set to if it can't otherwise be resolved.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My system Java was installed via homebrew
The text was updated successfully, but these errors were encountered: