Mercurial > hg > zsh-env
comparison 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 |
comparison
equal
deleted
inserted
replaced
145:ebcb738274d1 | 146:d6fba0677bff |
---|---|
14 | 14 |
15 jdk8() { | 15 jdk8() { |
16 switchJdk "oracle-jdk-bin-1.8" | 16 switchJdk "oracle-jdk-bin-1.8" |
17 } | 17 } |
18 | 18 |
19 jdk10() { | 19 jdk11() { |
20 export JAVA_HOME=/opt/jdk-10.0.2 | 20 export JAVA_HOME=/opt/jdk-11+28 |
21 | 21 |
22 local new_path=`removeFromPath "jdk"` | 22 local new_path=`removeFromPath "jdk"` |
23 export PATH="${JAVA_HOME}/bin":"${new_path}" | 23 export PATH="${JAVA_HOME}/bin":"${new_path}" |
24 java -version | 24 java -version |
25 } | 25 } |