blob: d774ab80b70466958efc3ae02347b54eb84fc1b5 [file] [log] [blame]
duke6e45e102007-12-01 00:00:00 +00001README:
2 This file should be located at the top of the jdk Mercurial repository.
3
4 See http://openjdk.java.net/ for more information about the OpenJDK.
5
6Simple Build Instructions:
7
8 1. Download and install a JDK 6 from
9 http://java.sun.com/javase/downloads/index.jsp
10 Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
11
peterz040645c2009-08-31 13:56:34 +040012 2. Download and install the Binary Plugs for the most recent JDK7 from
duke6e45e102007-12-01 00:00:00 +000013 http://download.java.net/openjdk/jdk7/
14 Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
15 these binary plugs.
16
peterz040645c2009-08-31 13:56:34 +040017 3. Either download and install the latest JDK7 from
duke6e45e102007-12-01 00:00:00 +000018 http://download.java.net/openjdk/jdk7/, or build your own complete
19 OpenJDK7 by using the top level Makefile in the OpenJDK Mercurial forest.
20 Set the environment variable ALT_JDK_IMPORT_PATH to the location of
21 this latest JDK7 or OpenJDK7 build.
22
peterz040645c2009-08-31 13:56:34 +040023 4. Check the sanity of doing a build with the current machine:
duke6e45e102007-12-01 00:00:00 +000024 cd make && gnumake sanity
25 See README-builds.html if you run into problems.
26
peterz040645c2009-08-31 13:56:34 +040027 5. Do a partial build of the jdk:
duke6e45e102007-12-01 00:00:00 +000028 cd make && gnumake all
29
peterz040645c2009-08-31 13:56:34 +040030 6. Construct the images:
duke6e45e102007-12-01 00:00:00 +000031 cd make && gnumake images
32 The resulting JDK image should be found in build/*/j2sdk-image
33
34