Skip to main content
Last updated January 08, 2013 21:49, by neomatrix369
Feedicon  
Building Hotspot via the command-line interface (Old build)


Configuration

Ensure the below environment variables are added to the .bashrc file:

 
 LANG=C
 ALT_BOOTDIR=/usr/lib/jvm/java-7-openjdk-amd64
 ALT_JDK_IMPORT_PATH=/usr/lib/jvm/java-7-openjdk-amd64
 PRODUCT_HOME=/home/openjdk/sources/jdk8_tl/build/linux-amd64_backup/j2sdk-image 
 ZIP_DEBUGINFO_FILES=0
 


Building

Perform the below instructions to build Hotspot using the old build system (ensure environment variables are set - see the sub-heading Old Build above. And the ~/.bashrc file source-ed before proceeding):

 
 source ~/.bashrc
 
 cd ~/sources/jdk8_tl/hotspot/make
 make clean
 make all
 -or-
 make clean all
 
 (the first make just does a clean build, the next one does a full or incremental build, whilst the last one always does a clean full build)
 


Logs

A successful build will result in the following build messages that can be found in the log file (hotspotBuild.log).

An incremental (another attempt) build results in the following log messages (hotspotBuild2ndPass.log).

Next Step

Back to How to build the Hotspot project in Eclipse

 
 
Close
loading
Please Confirm
Close