setting up environment to use jdk11/8

This commit is contained in:
gbmor 2020-04-15 23:25:02 -04:00
parent 27a28d751d
commit 20c52953a1
1 changed files with 22 additions and 0 deletions

22
pages/jdk.md Normal file
View File

@ -0,0 +1,22 @@
<!--
title: jdk 11
description: Using JDK 11
author: gbmor
-->
# 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](/)