First, enter root
As you can see, I'm using the CentOS 6.5 system.
Second, test network and Yum is available
1. Test the network ping www.baidu.com, if it is
Reference:
One, JDK installation
1, Linux under the Yum Direct installation: 51183115
2, installation package installation (if Linux has a network can also go down or through the Windows transfer):
(1) https://www.cnblogs.com/zeze/p/5902124.html
(2) If there is a problem in (1), please refer to this item to resolve
https://www.cnblogs.com/Dylansuns/p/
Ii. How Java programs under Windows run under Linux (already installed JDK)
1. Running Java programs under Linux
42462761
2, if the error: The program local operation is normal, the server operation error cannot find the class in the third party package
53162158
3. If the entire Java project is to be deployed under the Linux Tomcat
Https://www.cnblogs.com/hanyinglong/p/5024643.html
How to install the JDK and run Java programs under Linux