Java

JDK, JRE

Version LTS

Release Family End Of Support Life (EOSL)
18 September 2022(1)
17 LTS September 2029
16 September 2021
15 March 2021
14 September 2020
13 March 2020
11 LTS September 2026
10 September 2018
9 March 2018
8 LTS December 2030
7 LTS July 2022
6 LTS December 2018
5 LTS July 2015
4 LTS March 2013
3 LTS April 2011
2 LTS December 2003
1 LTS October 2002

Install

yum list | grep jdk
sudo yum remove java-1.7.0-openjdk.x86_64 -y
sudo yum install java-1.8.0-openjdk-devel.x86_64 -y
sudo add-apt-repository ppa:openjdk-r/ppa

sudo apt-get update
sudo apt-get install openjdk-8-jdk -y
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default
export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)"

기본 용어

Other topic

참고

What Else?