ubuntu14 编译openjdk8

前端之家收集整理的这篇文章主要介绍了ubuntu14 编译openjdk8前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

openjdk7,可以参考 ubuntu14 编译 openjdk7


git clone https://github.com/dmlloyd/openjdk/tree/jdk8u/jdk8u
cd openjdk
vim build.sh
export LANG=C
export CCACHE_DISABLE=1
export ALLOW_DOWNLOADS=true
export HOTSPOT_BUILD_JOBS=4
export SKIP_COMPARE_IMAGES=true

export BUILD_LANGTOOLS=true
export BUILD_JAXP=true
export BUILD_JAXWS=true
export BUILD_CORBA=true
export BUILD_HOTSPOT=true
export BUILD_NASHORN=true
export BUILD_JDK=true

export SKIP_DEBUG_BUILD=false
export SKIP_FASTDEBUG_BUILD=true
export DEBUG_NAME=debug
BUILD_DEPLOY=false
BUILD_INSTALL=false
unset CLASSPATH
unset JAVA_HOME
make sanity
make clean
make
. ./configure
./build.sh

检查编译结果

./build/linux-x86_64-normal-server-release/jdk/bin/java -version
原文链接:https://www.f2er.com/ubuntu/351548.html

猜你在找的Ubuntu相关文章