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 ~] #