From 20c52953a131edec67679f286b8003d0d4149472 Mon Sep 17 00:00:00 2001 From: gbmor Date: Wed, 15 Apr 2020 23:25:02 -0400 Subject: setting up environment to use jdk11/8 --- pages/jdk.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pages/jdk.md diff --git a/pages/jdk.md b/pages/jdk.md new file mode 100644 index 0000000..b74ecfd --- /dev/null +++ b/pages/jdk.md @@ -0,0 +1,22 @@ + + +# jdk 11 + +To use JDK 11 for development, you will need to make the following additions +to your `~/.kshrc` file: + +``` +export PATH=/usr/local/jdk-11/bin:$PATH +export JAVA_HOME=/usr/local/jdk-11 +``` + +Afterwards, you may call `java`, `javac`, etc as expected. + +JDK 1.8.0 is also available by replacing `jdk-11` in the above two lines +with `jdk-1.8.0` + +[back](/) -- cgit 1.4.1-2-gfad0