Install OpenJDK10 under Ubuntu

   Copyright statement: welcome to reprint, please indicate the source, thank you. https://blog.csdn.net/boling_cavalry/article/details/83213608

The Ubuntu version is 16.04.5 LTS, the steps to install OpenJDK10 are as follows:

  1. Download the installation file, open the address in the browser: http://jdk.java.net/java-se-ri/10, click the circle in the red box in the figure below:

  1. Click the link in the red box below to start downloading the installation file:

  1. Put the downloaded jdk-10_linux-x64_bin_ri.tar.gz file into the Ubuntu directory /usr/lib/jvm, and then execute the following command to decompress:
tar -zxvf jdk-10_linux-x64_bin_ri.tar.gz
  1. Now, there is a jdk-10 directory in the /usr/lib/jvm directory;
  2. Modify the /etc/profile file and add the following content at the end:
export JAVA_HOME=/usr/lib/jvm/jdk-10export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH
  1. Execute the command source /etc/profile to make the configuration effective;
  2. After installation, execute the command java -version to verify, the information is as follows:
root@docker:~# java -version
openjdk version "10"2018-03-20
OpenJDK Runtime Environment 18.3(build 10+44)
OpenJDK 64-Bit Server VM 18.3(build 10+44, mixed mode)

Recommended Posts

Install OpenJDK10 under Ubuntu
Install apache+PHP under Ubuntu
Install node.js under Ubuntu
Install python3.6 under Ubuntu 16.04
Install mysql under Ubuntu 16.04
Install Caffe under Ubuntu 14.04
2018-09-11 Install arduino under Ubuntu
Install ROS under ROS Ubuntu 18.04[2]
Install MySQL under Ubuntu
Install Yarm-PM2 under Ubuntu
Install server-side Shadowsocks under Ubuntu 16.04
Install rgl package under Ubuntu
Compile and install OpenJDK8 from source code under Ubuntu 18.04.1
Install 3 single-cell R packages under Ubuntu
Install and deploy Gerrit under Ubuntu
Install MySQL under Ubuntu 18.04 (graphic tutorial)
Install JDK1.8 original under Ubuntu Kylin
Small tool: install screenshot tool under ubuntu
Install nodejs and npm under Ubuntu 16.04
How to install Audacious under Ubuntu
How to install Tensorflow under ubuntu 16.04
Compile and install QEMU under Ubuntu
ubuntu18.04 install python2
ubuntu18.04 install docker
ubuntu12.04 install python3
Ubuntu install guide
ubuntu install nodejs
ubuntu 16 install asp.net
ubuntu install leanote
CentOS install openjdk 1.8
ubuntu install Jenkins
docker install ubuntu
ubuntu install elasticsearch
ubuntu16.0.1 install pagoda
ubuntu18.04 install python
ubuntu 18.04 install teamviewer
ubuntu install sendmail
Install linux (ubuntu) dual system under windows system
Install YouCompleteMe plugin for vim under Ubuntu
Install PyTesser under ubuntu 14.04 for OCR recognition
Install Ubuntu with Parallels Desktop under Mac
Three ways to install software under Ubuntu
Install utility software collection under Ubuntu system
install vscode on ubuntu18
How to install vim editor under Linux (Ubuntu 18.04)
Install mysql-pytho in Ubuntu
ubuntu install zsh terminal
Install Redis on Ubuntu
Install R4 on ubuntu20
Install nvtop on Ubuntu 18.04
Install postgresql-10 on Ubuntu 18.04
Install docker on Ubuntu
Ubuntu18.04 install opencv 3.2.0 solution
Install ActiveMQ under Centos7
Python MySQLd under Ubuntu
Install Docker on ubuntu18.04
Start working under ubuntu
Install nodejs10 on Ubuntu16
Install PostgreSQL12 under CentOS7
Install the old version of seurat under Ubuntu
Install CentOS under VMware