2.在centos上安装netbeans并导入hotspot项目

准备工作

在https://netbeans.org/downloads/上选择linux版本的g++版编译器下载,并安装
2.在centos上安装netbeans并导入hotspot项目

编译jdk1.7

见博文https://blog.****.net/qq_24516549/article/details/84538043

导入项目

新建项目,选择
2.在centos上安装netbeans并导入hotspot项目
下一步,
选择本地下载的源码中文件夹
2.在centos上安装netbeans并导入hotspot项目
下一步,下一步,
2.在centos上安装netbeans并导入hotspot项目
选择工作目录,清理命令和构建命令分别填写
(目录根据本地jdk位置调整)

make clobber
${MAKE} -f Makefile clean jvmg
ALT_BOOTDIR=/jvm/jdk1.7.0_80
ARCH_DATA_MODEL=64 LANG=C

下一步直到完成,构建完毕