Mon, 27 Jul 2009 23:03:25 -0700
Merge
duke@2 | 1 | README: |
duke@2 | 2 | This file should be located at the top of the OpenJDK Mercurial repository |
duke@2 | 3 | forest. This top or enclosing repository will include a "make" directory, |
duke@2 | 4 | and a Makefile at the very top of the repository. |
duke@2 | 5 | It should also include the 6 repositories: "jdk", "hotspot", "langtools", |
duke@2 | 6 | "corba", "jaxws" and "jaxp". |
duke@2 | 7 | |
duke@2 | 8 | See http://openjdk.java.net/ for more information about the OpenJDK. |
duke@2 | 9 | |
duke@2 | 10 | Simple Build Instructions: |
duke@2 | 11 | |
duke@2 | 12 | 1. Download and install a JDK 6 from |
duke@2 | 13 | http://java.sun.com/javase/downloads/index.jsp |
duke@2 | 14 | Set the environment variable ALT_BOOTDIR to the location of this JDK 6. |
duke@2 | 15 | |
duke@2 | 16 | 2. Download and install the Binary Plugs for the most recent JDK7 from |
duke@2 | 17 | http://download.java.net/openjdk/jdk7/ |
duke@2 | 18 | Set the environment variable ALT_BINARY_PLUGS_PATH to the location of |
duke@2 | 19 | these binary plugs. |
duke@2 | 20 | |
duke@2 | 21 | 3. Check the sanity of doing a build with the current machine: |
duke@2 | 22 | gnumake sanity |
duke@2 | 23 | See README-builds.html if you run into problems. |
duke@2 | 24 | |
duke@2 | 25 | 4. Do a complete build of the jdk: |
duke@2 | 26 | gnumake all |
duke@2 | 27 | The resulting JDK image should be found in build/*/j2sdk-image |
duke@2 | 28 | |
duke@2 | 29 | where gnumake is GNU make 3.78.1 or newer, /usr/bin/make on Linux and |
duke@2 | 30 | /usr/sfw/bin/gmake or /opt/sfw/bin/gmake on Solaris. |
duke@2 | 31 |