This article is a mirror article of machine translation, please click here to jump to the original article.

View: 25960|Reply: 2

[Source] Centos 8 installation Java JDK tutorial

[Copy link]
Posted on 2021-10-9 13:35:59 | | | |
Centos 8 Installing Java JDK tutorial, this article is about installing and setting up a Java environment through a zip file.

Review:

Centos 7 Installation Java JDK Tutorial
https://www.itsvse.com/thread-6169-1-1.html

First, create a Java installation directory with the following command:

JDK 8u301 Linux system version download address:The hyperlink login is visible.

JDK 8u301 Linux system version, odd version is the version that has been fixed for bugs and all passed the inspection, and this version is highly recommended by the official.

Upload the jdk-8u301-linux-x64.tar.gz download to the server or download it on the server via the wget command. (omitted), as shown in the figure below:



Unzip the jdk-8u301-linux-x64.tar.gz file with the following command:

To edit the profile file, the command is as follows:

Add the following configuration at the bottom:

Reload the environment variables with the following command:

Look at the Java version as shown in the image below:

[root@localhost ~]# java -version
java version "1.8.0_301"
Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)
[root@localhost ~]# echo "itsvse.com"
itsvse.com
[root@localhost ~]# which java
/usr/java/jdk1.8.0_301/bin/java
[root@localhost ~] #



(End)





Previous:The DELL T340 server creates a RAID with iDRAC9
Next:vSphere ESXi 7.0 key registration code
Posted on 2021-10-9 14:37:25 |
Not bad, not bad,
 Landlord| Posted on 2022-1-15 14:31:06 |
Create soft links

Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com