Xiaobai tutorial! JDK installation and configuration method on Linux server
•
Java
This example shares the JDK installation and configuration method on Linux for your reference. The specific contents are as follows
1、 Environment
VMware12 Pro
CentOS-6.7-i386-bin-DVD1
jdk-8u151-linux-i586
2、 Detailed installation steps premise: you need to uninstall your JDK on Linux
RPM QA | grepjdk will display all your installation packages containing the string JDK
Rpm-e -- each package name corresponding to nodeps unloads the corresponding package
After that, if Java - version displays
Just finished unloading.
I installed jdk1 before 7, so I need to uninstall. For those that haven't been installed, start from below
1. Go to the official website to download JDK
Download address
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码