Created
November 6, 2020 20:38
-
-
Save aleksseven/ab23a6b41bbc70e68fc96c0640a94f67 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. sudo add-apt-repository ppa:openjdk-r/ppa | |
| 2. sudo apt-get update | |
| 3. sudo apt install openjdk-14-jdk | |
| Option 2. | |
| 1. sudo apt update | |
| 2. sudo add-apt-repository ppa:linuxuprising/java | |
| 3. sudo apt -y install oracle-java14-installer | |
| Configure as default. | |
| 4. sudo apt -y install oracle-java14-set-default | |
| 5. Add to PATH in your .bashrc or .zshrc. | |
| export JAVA_HOME=/usr/lib/jvm/java-14-oracle | |
| export PATH=$PATH:$JAVA_HOME/bin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment