asdf-java
asdf-java copied to clipboard
Use user home for MacOS `/usr/libexec/java_home` integration
Currently, the integration installs into the system directory. For example:
/Library/Java/JavaVirtualMachines/zulu-11.66.15_1/Contents/Home
However, it would be more logical to use the same path inside the users path:
/Users/mrmeszaros/Library/Java/JavaVirtualMachines/azul-11.0.20/Contents/Home
The macos integration can be turned on by extending .asdfrc:
java_macos_integration_enable = yes
+1, this would also not require the root permission.