diff --git a/zsh/env.zsh b/zsh/env.zsh index d34d20b..b3a95d3 100644 --- a/zsh/env.zsh +++ b/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 PATH=$PATH:$JAVA_HOME/bin/ fi -if [[ -d "$HOME/.asdf/installs/java/adoptopenjdk-8.0.262+10.openj9-0.21.0" ]]; then - export JAVA_HOME=$HOME/.asdf/installs/java/adoptopenjdk-8.0.262+10.openj9-0.21.0 +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 PATH=$PATH:$JAVA_HOME/bin/ 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`" if [[ -d "~/.asdf/plugins/java/" ]]; then