Compile and install OpenJDK7 source code on CentOS 6.5

Source: Internet
Author: User

Compile and install OpenJDK7 source code on CentOS 6.5

The open-source OpenJDK version can be used to obtain the source code in two ways:

  • Get the source code directly from Repository through the Mercurial code version management tool, but the speed is too slow and it takes several hours

  • Download the officially packaged source code package directly (recommended)

Download the source code openjdk-7u6-fcs-src-b24-28_aug_2012.zip and decompress it as follows:

Http://www.java.net/download/openjdk/jdk7u6/promoted/b24/openjdk-7u6-fcs-src-b24-28_aug_2012.zip

This compilation uses a 64-bit OS and a 64-bit JDK, with a memory of at least 512 MB.

1. Basic Process

(Read readmeand readme-builds.html)

README-builds.html contains detailed installation information, it is best to read the complete.

2. Install the basic software package

My CentOS6.5 is installed on vmware10 and installed with Minimal

[Root @ localhost ~] #

Related Article

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.