1*e82f7db8SAndroid Build Coastguard WorkerREADME: 2*e82f7db8SAndroid Build Coastguard Worker This file should be located at the top of the jdk Mercurial repository. 3*e82f7db8SAndroid Build Coastguard Worker 4*e82f7db8SAndroid Build Coastguard Worker See http://openjdk.java.net/ for more information about the OpenJDK. 5*e82f7db8SAndroid Build Coastguard Worker 6*e82f7db8SAndroid Build Coastguard WorkerSimple Build Instructions: 7*e82f7db8SAndroid Build Coastguard Worker 8*e82f7db8SAndroid Build Coastguard Worker 1. Download and install a JDK 6 from 9*e82f7db8SAndroid Build Coastguard Worker http://java.sun.com/javase/downloads/index.jsp 10*e82f7db8SAndroid Build Coastguard Worker Set the environment variable ALT_BOOTDIR to the location of this JDK 6. 11*e82f7db8SAndroid Build Coastguard Worker 12*e82f7db8SAndroid Build Coastguard Worker 2. Either download and install the latest JDK7 from 13*e82f7db8SAndroid Build Coastguard Worker http://download.java.net/openjdk/jdk7/, or build your own complete 14*e82f7db8SAndroid Build Coastguard Worker OpenJDK7 by using the top level Makefile in the OpenJDK Mercurial forest. 15*e82f7db8SAndroid Build Coastguard Worker Set the environment variable ALT_JDK_IMPORT_PATH to the location of 16*e82f7db8SAndroid Build Coastguard Worker this latest JDK7 or OpenJDK7 build. 17*e82f7db8SAndroid Build Coastguard Worker 18*e82f7db8SAndroid Build Coastguard Worker 3. Check the sanity of doing a build with the current machine: 19*e82f7db8SAndroid Build Coastguard Worker cd make && gnumake sanity 20*e82f7db8SAndroid Build Coastguard Worker See README-builds.html if you run into problems. 21*e82f7db8SAndroid Build Coastguard Worker 22*e82f7db8SAndroid Build Coastguard Worker 4. Do a partial build of the jdk: 23*e82f7db8SAndroid Build Coastguard Worker cd make && gnumake all 24*e82f7db8SAndroid Build Coastguard Worker 25*e82f7db8SAndroid Build Coastguard Worker 5. Construct the images: 26*e82f7db8SAndroid Build Coastguard Worker cd make && gnumake images 27*e82f7db8SAndroid Build Coastguard Worker The resulting JDK image should be found in build/*/j2sdk-image 28*e82f7db8SAndroid Build Coastguard Worker 29*e82f7db8SAndroid Build Coastguard Worker 30