duke | 6e45e10 | 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 | |
peterz | 4b44e24 | 2009-04-25 21:17:50 +0400 | [diff] [blame] | 12 | 2. Download and install the JIBX libraries, version 1.1.5 from |
| 13 | http://sourceforge.net/project/showfiles.php?group_id=69358&package_id=68290 |
| 14 | You'll need the following four JAR files: |
| 15 | bcel.jar |
| 16 | jibx-bind.jar |
| 17 | jibx-run.jar |
| 18 | xpp3.jar |
| 19 | Set the environment variable ALT_JIBX_LIBS_PATH to the location of |
| 20 | these JAR files. |
| 21 | |
| 22 | 3. Download and install the Binary Plugs for the most recent JDK7 from |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 23 | http://download.java.net/openjdk/jdk7/ |
| 24 | Set the environment variable ALT_BINARY_PLUGS_PATH to the location of |
| 25 | these binary plugs. |
| 26 | |
peterz | 4b44e24 | 2009-04-25 21:17:50 +0400 | [diff] [blame] | 27 | 4. Either download and install the latest JDK7 from |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 28 | http://download.java.net/openjdk/jdk7/, or build your own complete |
| 29 | OpenJDK7 by using the top level Makefile in the OpenJDK Mercurial forest. |
| 30 | Set the environment variable ALT_JDK_IMPORT_PATH to the location of |
| 31 | this latest JDK7 or OpenJDK7 build. |
| 32 | |
peterz | 4b44e24 | 2009-04-25 21:17:50 +0400 | [diff] [blame] | 33 | 5. Check the sanity of doing a build with the current machine: |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 34 | cd make && gnumake sanity |
| 35 | See README-builds.html if you run into problems. |
| 36 | |
peterz | 4b44e24 | 2009-04-25 21:17:50 +0400 | [diff] [blame] | 37 | 6. Do a partial build of the jdk: |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 38 | cd make && gnumake all |
| 39 | |
peterz | 4b44e24 | 2009-04-25 21:17:50 +0400 | [diff] [blame] | 40 | 7. Construct the images: |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 41 | cd make && gnumake images |
| 42 | The resulting JDK image should be found in build/*/j2sdk-image |
| 43 | |
| 44 | |