jdk/make/README
changeset 1030 1faafeba249c
parent 1029 81bebef59ab9
parent 1028 f071fd617530
child 1031 9b447b7ec4d7
equal deleted inserted replaced
1029:81bebef59ab9 1030:1faafeba249c
     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 
       
    12   2. Download and install the Binary Plugs for the most recent JDK7 from
       
    13      http://download.java.net/openjdk/jdk7/
       
    14      Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
       
    15      these binary plugs.
       
    16      
       
    17   3. Either download and install the latest JDK7 from
       
    18      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      
       
    23   4. Check the sanity of doing a build with the current machine:
       
    24        cd make && gnumake sanity
       
    25      See README-builds.html if you run into problems.
       
    26   
       
    27   5. Do a partial build of the jdk:
       
    28        cd make && gnumake all
       
    29   
       
    30   6. Construct the images:
       
    31        cd make && gnumake images
       
    32      The resulting JDK image should be found in build/*/j2sdk-image
       
    33 
       
    34