SyntaxFix
Write A Post
Hire A Developer
Questions
For MacOS this worked for me without the need to hardcode a particular Java version:
launchctl setenv JAVA_HOME "$(jenv javahome)"