asdf-java icon indicating copy to clipboard operation
asdf-java copied to clipboard

Use user home for MacOS `/usr/libexec/java_home` integration

Open mrmeszaros opened this issue 2 years ago • 1 comments

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

mrmeszaros avatar Aug 25 '23 13:08 mrmeszaros

+1, this would also not require the root permission.

amr avatar Oct 18 '23 00:10 amr