openjdk编译工具了解

jdk-9+181编译了解

Main.gmk 

hotspot: $(HOTSPOT_VARIANT_TARGETS) hotspot-jsig

JVM_VARIANTS 是定义在buildjdk-spec.gmk.in

首次make会生成make-support

譬如生成module-deps.gmk

来自于make/common/Modules.gmk

MODULE_DEPS_MAKEFILE := $(MAKESUPPORT_OUTPUTDIR)/module-deps.gmk

module-deps.gmk 可查看要单独执行编译的单元

make hotspot-server-libs-only

最低jdk7-b24版本编译失败

make ALT_BOOTDIR=/usr/lib/jvm/jdkXXX ALT_BINARY_PLUGS_PATH=/usr/lib/jvm/jdkXXX 

提示"ERROR: The ALSA version must be 0.9.1 or higher. \n"

代码bug,将ne改成ge,ne是不等于

然后会提ant没指定,/NOT-SET/devtools/share/ant/latest/bin/ant not found -- please update ANT_HOME.  Stop.

你可能感兴趣的:(jdk,java,开源软件)