J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 1 | README: |
| 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 | |
| 6 | Simple 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 | |
Kelly O'Hair | 1c49ac1 | 2010-12-23 18:50:21 -0800 | [diff] [blame] | 12 | 2. Either download and install the latest JDK7 from |
J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 13 | http://download.java.net/openjdk/jdk7/, or build your own complete |
| 14 | OpenJDK7 by using the top level Makefile in the OpenJDK Mercurial forest. |
| 15 | Set the environment variable ALT_JDK_IMPORT_PATH to the location of |
| 16 | this latest JDK7 or OpenJDK7 build. |
| 17 | |
Kelly O'Hair | 1c49ac1 | 2010-12-23 18:50:21 -0800 | [diff] [blame] | 18 | 3. Check the sanity of doing a build with the current machine: |
J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 19 | cd make && gnumake sanity |
| 20 | See README-builds.html if you run into problems. |
| 21 | |
Kelly O'Hair | 1c49ac1 | 2010-12-23 18:50:21 -0800 | [diff] [blame] | 22 | 4. Do a partial build of the jdk: |
J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 23 | cd make && gnumake all |
| 24 | |
Kelly O'Hair | 1c49ac1 | 2010-12-23 18:50:21 -0800 | [diff] [blame] | 25 | 5. Construct the images: |
J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 26 | cd make && gnumake images |
| 27 | The resulting JDK image should be found in build/*/j2sdk-image |
| 28 | |
| 29 | |