linux install jdk11

* install Java 11 sudo apt install openjdk-11-jdk
2. inspect jdk edition
java -version
3. The output looks like this :
openjdk version "" 2020-11-04 OpenJDK Runtime Environment (build 11.0
.9.1+1-Ubuntu-0ubuntu1.20.04) OpenJDK 64-Bit Server VM (build
0ubuntu1.20.04, mixed mode, sharing)
4. Configure environment variables

* use vim or vi Command on profile file : vim /etc/profile
* Paste in the following code : JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 CLASSPATH=
If you do not have permission to save , Execute the following name and enter the password # :w ! sudo tee %
* Reload /etc/profile source /etc/profile
see Java edition :
java -version openjdk version "" 2020-11-04 OpenJDK Runtime Environment
(build OpenJDK 64-Bit Server VM (build
post-Uos-1deb10u2, mixed mode, sharing)
see gradle edition :
./gradle --version Build time: 2021-08-17 09:59:03 UTC Revision:
a773786b58bb28710e3dc96c4d1a7063628952adKotlin: 1.5.21 Groovy: 3.0.8 Ant: Apache
Ant(TM) version 1.10.9 compiled on September 27 2020 JVM: (Uos
+1-post-Uos-1deb10u2) OS: Linux 5.10.50-amd64-desktop amd64

©2019-2020 Toolsou All rights reserved,
C++ of string of compare usage MySQL Basics Commonly used sentence ( Add / delete / modify query )C Language of a Gobang game implementation QT5.9 Use of learning notes QSqlQuery Method of Qt Getting Started tutorial 【 Basic controls 】QCalendarWidget calendar control java Polymorphic array of web Front end signature plug-in _signature_pad Plug in implements electronic signature function centos7 install RabbitMqspringboot use redis Experiment 4 Automated test tools - software test