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