Ubuntu [Linux] Installation openjdk8

google openjdk8 installation according to official documents need ubuntu version> 15.4, the following command can be used directly for the following mounting:

sudo apt-get update
APT-GET install openjdk sudo-8-the JDK 

# feel following this step is not necessary, but I think there are other blog this step APT-GET install openjdk sudo-8-jre
# Since doing this step my system appeared a bit packages are no longer supported, so it is necessary to eliminate it sudo apt autoremove

Feel no need to configure the environment, because the direct java -version to display the installation was successful.

Guess you like

Origin www.cnblogs.com/guangluwutu/p/11848641.html