Browse Source

Update java home

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

8
zsh/env.zsh

@ -33,10 +33,14 @@ if [[ -d "/usr/local/jdk1.8.0_131" ]]; then
export JAVA_HOME=/usr/local/jdk1.8.0_131 export JAVA_HOME=/usr/local/jdk1.8.0_131
export PATH=$PATH:$JAVA_HOME/bin/ export PATH=$PATH:$JAVA_HOME/bin/
fi fi
if [[ -d "$HOME/.asdf/installs/java/adoptopenjdk-8.0.262+10.openj9-0.21.0" ]]; then if [[ -d "$HOME/.asdf/installs/java/adoptopenjdk-8.0.265+1/" ]]; then
export JAVA_HOME=$HOME/.asdf/installs/java/adoptopenjdk-8.0.262+10.openj9-0.21.0 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
# if [[ -d "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/" ]]; then
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
# export PATH=$PATH:$JAVA_HOME/bin/
# fi
# export JAVA_HOME="$HOME/.jenv/versions/`jenv version-name`" # export JAVA_HOME="$HOME/.jenv/versions/`jenv version-name`"
if [[ -d "~/.asdf/plugins/java/" ]]; then if [[ -d "~/.asdf/plugins/java/" ]]; then

Loading…
Cancel
Save