How to install the JDK and run Java programs under Linux

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.