You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the location for the MacOS folder and Info.plist files for Zulu is not working as expected:
$ asdf install java zulu-8.52.0.23
...
Integrating with /usr/libexec/java_home needs root permission for it to create folders under /Library/Java/JavaVirtualMachines
cp: /Users/<username>/.asdf/Contents/MacOS: No such file or directory
cp: /Users/<username>/.asdf/Contents/Info.plist: No such file or directory
Which results in the MacOS java_home command being unable to find the installed runtime:
$ /usr/libexec/java_home -V
The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.
Installing for example Adopt OpenJDK I'm getting the expected results:
$ asdf install java adoptopenjdk-15.0.2+7
...
Integrating with /usr/libexec/java_home needs root permission for it to create folders under /Library/Java/JavaVirtualMachines
* Release is a file which results in the absolute_dir_path command to fail to return the expected result. Changed it to bin/..
Fixes#137
* Added test to validate the /usr/libexec/java_home working as expected
* Added information to the liberica install about it not being integrated in /usr/libexec/java_home
* Only run the update-data on the main repository
After enabling
It seems the location for the MacOS folder and Info.plist files for Zulu is not working as expected:
Which results in the MacOS java_home command being unable to find the installed runtime:
Installing for example Adopt OpenJDK I'm getting the expected results:
And then
The problem resides in the usage of
absolute_dir_path
combined with a file (release
) and not a directory.Changing
release
intobin/..
fixes it for me.The text was updated successfully, but these errors were encountered: