Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use user home for MacOS /usr/libexec/java_home integration #213

Open
mrmeszaros opened this issue Aug 25, 2023 · 1 comment · May be fixed by #221
Open

Use user home for MacOS /usr/libexec/java_home integration #213

mrmeszaros opened this issue Aug 25, 2023 · 1 comment · May be fixed by #221

Comments

@mrmeszaros
Copy link

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
@amr
Copy link

amr commented Oct 18, 2023

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

rennsax added a commit to rennsax/asdf-java that referenced this issue Feb 26, 2024
Fix halcyon#213.

To install jdk at user home, set `java_macos_integration_in_home = yes`
@rennsax rennsax linked a pull request Feb 26, 2024 that will close this issue
rennsax added a commit to rennsax/asdf-java that referenced this issue Feb 28, 2024
Fix halcyon#213.

To install jdk at user home, set `java_macos_integration_in_home = yes`
rennsax added a commit to rennsax/asdf-java that referenced this issue Mar 8, 2024
Fix halcyon#213.

To install jdk at user home, set `java_macos_integration_in_home = yes`
rennsax added a commit to rennsax/asdf-java that referenced this issue Mar 18, 2024
Fix halcyon#213.

To install jdk at user home, set `java_macos_integration_in_home = yes`
mrmeszaros pushed a commit to mrmeszaros/asdf-java that referenced this issue May 27, 2024
Fix halcyon#213.

To install jdk at user home, set `java_macos_integration_in_home = yes`
mrmeszaros pushed a commit to mrmeszaros/asdf-java that referenced this issue Jun 27, 2024
Fix halcyon#213.

To install jdk at user home, set `java_macos_integration_in_home = yes`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants