CentOS compilation OPENJDK__JDK

Source: Internet
Author: User

compilingBefore compiling JDK7, install a JDK6 version, because some Java files need to be compiled, configuration update source, yum-y Groupinstall ' base ', yum-y install make; installation package, yum-y install Alsa-lib -devel cups-devel libxi-devel gcc gcc-c++ freetype ld-linux.so.2 ant* libx* freetype* Configure environment variables,
unset CLASSPATH
unset java_home
export lang=c
export skip_debug_build=false 
export Skip_fastdebug_ Build=true 
export debug_name=debug 
export alt_bootdir=/usr/java/jdk1.6.0_45
Download source code, reduce compression, verify the configuration, display sanity check passed. #表示ok了
wget http://download.java.net/openjdk/jdk7u40/promoted/b43/openjdk-7u40-fcs-src-b43-26_aug_2013.zip?q=download/ Openjdk/jdk7u40/promoted/b43/openjdk-7u40-fcs-src-b43-26_aug_2013.zip
Unzip Openjdk-7u40-fcs-src-b43-26_aug _2013.zip
CD openjdk make
Sanity
Execute compile command
Make all arch_data_model=64 Allow_downloads=tru
Check compilation results
./build/linux-amd64/bin/java-version

FAQ

Error:time is the than years from present:1104530400000, modified./jdk/src/share/classes/java/util/ currencydata.properties535 Line

534 # TURKEY
535 tr=trl;2010-12-31-22-00-00; TRY

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.