halcyon / asdf-java

A Java plugin for asdf-vm.
MIT License
455 stars 86 forks source link

update JAVA_HOME without running asdf #11

Closed clakech closed 5 years ago

clakech commented 5 years ago

When using java wrapper, the env variable $JAVA_HOME is not populated if you don't run asdf in the current shell session

What would be great is to populate JAVA_HOME each time I launch a new shell

halcyon commented 5 years ago

I agree. Could you please check out the rewrite of this plugin? https://github.com/halcyon/asdf-java-2

halcyon commented 5 years ago

@clakech please try out set-java-home.sh