Mercurial > hg > zsh-env
diff zshrc-jdk @ 146:d6fba0677bff
update to jdk11
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 23 Oct 2018 17:36:59 +0200 |
parents | 870bb3be824f |
children | 238d7d13bce7 |
line wrap: on
line diff
--- a/zshrc-jdk Mon Sep 17 09:20:52 2018 +0200 +++ b/zshrc-jdk Tue Oct 23 17:36:59 2018 +0200 @@ -16,8 +16,8 @@ switchJdk "oracle-jdk-bin-1.8" } -jdk10() { - export JAVA_HOME=/opt/jdk-10.0.2 +jdk11() { + export JAVA_HOME=/opt/jdk-11+28 local new_path=`removeFromPath "jdk"` export PATH="${JAVA_HOME}/bin":"${new_path}"