README

changeset 276
dc9eb519c6ed
parent 262
f4c95f4b7590
child 320
b87875789600
     1.1 --- a/README	Mon Dec 20 08:44:58 2010 -0800
     1.2 +++ b/README	Wed Dec 22 12:25:52 2010 -0800
     1.3 @@ -1,28 +1,38 @@
     1.4  README:
     1.5 -  This file should be located at the top of the OpenJDK Mercurial repository
     1.6 -  forest. This top or enclosing repository will include a "make" directory,
     1.7 -  and a Makefile at the very top of the repository.
     1.8 -  It should also include the 6 repositories: "jdk", "hotspot", "langtools",
     1.9 -  "corba", "jaxws"  and "jaxp".
    1.10 +  This file should be located at the top of the OpenJDK Mercurial root
    1.11 +  repository. This root repository will include a "make" directory,
    1.12 +  and a Makefile for building the entire OpenJDK.
    1.13 +  A full OpenJDK repository set (forest) should also include the following
    1.14 +  6 nested repositories:
    1.15 +    "jdk", "hotspot", "langtools", "corba", "jaxws"  and "jaxp".
    1.16 +  There are also several source downloads for the jax* repositories that
    1.17 +  will be needed.
    1.18 +
    1.19 +  This one root repository can be obtained with something like:
    1.20 +    hg clone http://hg.openjdk.java.net/jdk7/jdk7 openjdk7
    1.21 +  To make sure you have all the nested repositories, you can run:
    1.22 +    cd openjdk7 && sh ./get_source.sh
    1.23 +  (This is identical to using the Mercurial Forest Extension command 
    1.24 +   'hg fclone http://hg.openjdk.java.net/jdk7/jdk7 openjdk7').
    1.25 +  People unfamiliar with Mercurial should read the first few chapters of
    1.26 +  the Mercurial book: http://hgbook.red-bean.com/read/
    1.27  
    1.28    See http://openjdk.java.net/ for more information about the OpenJDK.
    1.29  
    1.30  Simple Build Instructions:
    1.31 +  
    1.32 +  0. Get the necessary system software/packages installed on your system, see
    1.33 +     http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html
    1.34  
    1.35 -  1. Download and install a JDK 6 from
    1.36 +  1. If you don't have a jdk6 installed, download and install a JDK 6 from
    1.37       http://java.sun.com/javase/downloads/index.jsp
    1.38 -     Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
    1.39 +     Set the environment variable ALT_BOOTDIR to the location of JDK 6.
    1.40  
    1.41 -  2. Download and install the Binary Plugs for the most recent JDK7 from
    1.42 -     http://download.java.net/openjdk/jdk7/
    1.43 -     Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
    1.44 -     these binary plugs.
    1.45 -     
    1.46 -  3. Check the sanity of doing a build with the current machine:
    1.47 +  2. Check the sanity of doing a build with your current system:
    1.48         gnumake sanity
    1.49       See README-builds.html if you run into problems.
    1.50    
    1.51 -  4. Do a complete build of the jdk:
    1.52 +  3. Do a complete build of the OpenJDK:
    1.53         gnumake all
    1.54       The resulting JDK image should be found in build/*/j2sdk-image
    1.55  

mercurial