Centos installation Java

Source: Internet
Author: User
Java is not installed in the system

Installation method:

1. command to install directly.

1.1 RPM Command

1.2 YUM command

2. Source code installation. Recommended

2.1 Download the corresponding version of the Java package

2.2 Creating a Directory

2.3 Extract the downloaded Java package to the newly created directory

2.4 Setting environment variables

Reference: http://www.mamicode.com/info-detail-613410.html

Java is already installed in the system and you want to upgrade the Java version

1. Query the system default installed Java

2. Uninstalling the system comes with Java

3. Install a new version of Java using either of the methods described in the previous section

Reference: http://blog.csdn.net/zhengjie19/article/details/49100873

Java is already installed in the system and you want to install a different version of Java

1. View the installed Java

2. Install the new version of Java using the source installation method

3. Managing multiple versions of Java using the alternative tool

Reference:

http://blog.csdn.net/zhandoushi1982/article/details/50807282

Http://www.cnblogs.com/xu-dong/p/6429301.html

Centos installation Java

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.