Linux installation JDK1.8 steps 1. Check whether CentOS has its own openJDK. It is not recommended to use the built-in one, so uninstall it first.
2. Uninstall the built-in openJDK method:
After the uninstallation is complete, start downloading and installing jdk. 3. Download JDK Select the corresponding jdk according to the bit number of the system, and check the bit number command "getconf LONG_BIT" Download address: 64-bit: Link: https://pan.baidu.com/s/1tccc9tlwhCScmZp90urRGw Extraction code: wmvi 32-bit: https://pan.baidu.com/s/1n3jtj0yaa091HZ0ZBYyJGA Extraction code: x25w 4. Upload JDK Use the rz command to upload. If there is no rz command, install it first using 5. Unzip JDK
6. Configure environment variables The environment variables of the Windows operating system are configured through tools. On Linux, the environment variables are stored in the profile file. Open the file and use vim to modify it. (You can also download and modify it in sz and then upload it in rz. I think it is more convenient to edit. Personal operation, not professional, please don't criticize!) The configuration is as follows:
After the configuration is complete, execute the command "source /etc/profile" to make the file effective. 7. Verify whether the installation is successful Execute the command "java -version", the installation is successful as follows, which is consistent with Windows Summarize This is the end of this graphic tutorial on how to install JDK 1.8 on CentOS 7.4. For more information about installing JDK 1.8 on CentOS 7.4, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: npm Taobao mirror modification explanation
>>: ERROR 1862 (HY000): Your password has expired. To log in you must change it using a .....
When developing a website function, the session c...
Table of contents 1. Where is the slowness? 2. Ha...
This article example shares the specific code of ...
I spent a day on it before this. Although Seata i...
<br />In general guestbooks, forums and othe...
Table of contents 1. Timestamp to date 2. Convert...
A Thorough Analysis of HTML (14) Special Characte...
I had been working on the project before the New ...
Table of contents Preface 1. unknown vs any 2. Th...
Basic Environment Pagoda installation service [Py...
I’ve always preferred grayscale images because I t...
<br />Original URL: http://www.lxdong.com/po...
Written in front A database is essentially a shar...
Today I used a virtual machine to do an experimen...
background As the business develops, the company&...