Browse Source

asdf java: add JAVA_HOME

ubuntu_ci
Ein Verne 4 years ago
parent
commit
56bf18897a
No known key found for this signature in database
GPG Key ID: 926634D64ACAD792
  1. 1
      zsh/env.zsh

1
zsh/env.zsh

@ -39,6 +39,7 @@ if [[ -d "$HOME/.asdf/installs/java/adoptopenjdk-8.0.265+1/" ]]; then
export JAVA_HOME=$HOME/.asdf/installs/java/adoptopenjdk-8.0.265+1/ export JAVA_HOME=$HOME/.asdf/installs/java/adoptopenjdk-8.0.265+1/
export PATH=$PATH:$JAVA_HOME/bin/ export PATH=$PATH:$JAVA_HOME/bin/
fi fi
. ~/.asdf/plugins/java/set-java-home.zsh
# if [[ -d "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/" ]]; then # if [[ -d "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/" ]]; then
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ # export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
# export PATH=$PATH:$JAVA_HOME/bin/ # export PATH=$PATH:$JAVA_HOME/bin/

Loading…
Cancel
Save