halcyon / asdf-java

A Java plugin for asdf-vm.
MIT License
465 stars 85 forks source link

JAVA_HOME zsh script not working #99

Closed guerra08 closed 4 years ago

guerra08 commented 4 years ago

Issue: When trying to set JAVA_HOME using the zsh script, no error is given, but the variable value is not updated. Steps: Executing . ~/.asdf/plugins/java/set-java-home.zsh on a zsh shell. Result: echo $JAVA_HOME yields an empty result.

guerra08 commented 4 years ago

Problem was due to my usage, everything is ok with the instructions and the zsh script itself.