Mercurial > hg > zsh-env
comparison zshrc-jdk @ 131:e72a98823522
update the jdk support module
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 13 May 2018 13:54:32 +0200 |
parents | 47174e41b448 |
children | 7f20ec5f5726 |
comparison
equal
deleted
inserted
replaced
130:ca2b58d0a32f | 131:e72a98823522 |
---|---|
10 export JDK_HOME=${JAVA_HOME} | 10 export JDK_HOME=${JAVA_HOME} |
11 export PATH="${JAVA_HOME}/bin":"${new_path}" | 11 export PATH="${JAVA_HOME}/bin":"${new_path}" |
12 java -version | 12 java -version |
13 } | 13 } |
14 | 14 |
15 ibmJdk5() { | |
16 switchJdk "ibm-jdk-bin-1.5" | |
17 } | |
18 | |
19 ibmJdk6() { | |
20 switchJdk "ibm-jdk-bin-1.6" | |
21 } | |
22 | |
23 jdk14() { | |
24 switchJdk "sun-jdk-1.4" | |
25 } | |
26 | |
27 jdk5() { | |
28 switchJdk "sun-jdk-1.5" | |
29 } | |
30 | |
31 jdk6() { | |
32 switchJdk "sun-jdk-1.6" | |
33 } | |
34 | |
35 jdk7() { | |
36 switchJdk "oracle-jdk-bin-1.7" | |
37 } | |
38 | |
39 jdk8() { | 15 jdk8() { |
40 switchJdk "oracle-jdk-bin-1.8" | 16 switchJdk "oracle-jdk-bin-1.8" |
41 } | 17 } |
18 | |
19 jdk9() { | |
20 export JAVA_HOME=/opt/oracle-jdk-bin-9.0.4 | |
21 export PATH="${JAVA_HOME}/bin":"${new_path}" | |
22 java -version | |
23 } |