Mercurial > hg > zsh-env
changeset 131:e72a98823522
update the jdk support module
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 13 May 2018 13:54:32 +0200 |
parents | ca2b58d0a32f |
children | 7f20ec5f5726 |
files | zshrc-jdk |
diffstat | 1 files changed, 6 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/zshrc-jdk Fri Mar 09 16:03:11 2018 +0100 +++ b/zshrc-jdk Sun May 13 13:54:32 2018 +0200 @@ -12,30 +12,12 @@ java -version } -ibmJdk5() { - switchJdk "ibm-jdk-bin-1.5" -} - -ibmJdk6() { - switchJdk "ibm-jdk-bin-1.6" -} - -jdk14() { - switchJdk "sun-jdk-1.4" -} - -jdk5() { - switchJdk "sun-jdk-1.5" -} - -jdk6() { - switchJdk "sun-jdk-1.6" -} - -jdk7() { - switchJdk "oracle-jdk-bin-1.7" -} - jdk8() { switchJdk "oracle-jdk-bin-1.8" } + +jdk9() { + export JAVA_HOME=/opt/oracle-jdk-bin-9.0.4 + export PATH="${JAVA_HOME}/bin":"${new_path}" + java -version +} \ No newline at end of file