jdk/README
changeset 2658 43e06bc950ec
parent 2 90ce3da70b43
child 3742 5e1b8bc3cb1a
equal deleted inserted replaced
2657:bc5c66dd4730 2658:43e06bc950ec
     7 
     7 
     8   1. Download and install a JDK 6 from
     8   1. Download and install a JDK 6 from
     9      http://java.sun.com/javase/downloads/index.jsp
     9      http://java.sun.com/javase/downloads/index.jsp
    10      Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
    10      Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
    11 
    11 
    12   2. Download and install the Binary Plugs for the most recent JDK7 from
    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
    13      http://download.java.net/openjdk/jdk7/
    23      http://download.java.net/openjdk/jdk7/
    14      Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
    24      Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
    15      these binary plugs.
    25      these binary plugs.
    16      
    26      
    17   3. Either download and install the latest JDK7 from
    27   4. Either download and install the latest JDK7 from
    18      http://download.java.net/openjdk/jdk7/, or build your own complete
    28      http://download.java.net/openjdk/jdk7/, or build your own complete
    19      OpenJDK7 by using the top level Makefile in the OpenJDK Mercurial forest.
    29      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
    30      Set the environment variable ALT_JDK_IMPORT_PATH to the location of
    21      this latest JDK7 or OpenJDK7 build.
    31      this latest JDK7 or OpenJDK7 build.
    22      
    32      
    23   4. Check the sanity of doing a build with the current machine:
    33   5. Check the sanity of doing a build with the current machine:
    24        cd make && gnumake sanity
    34        cd make && gnumake sanity
    25      See README-builds.html if you run into problems.
    35      See README-builds.html if you run into problems.
    26   
    36   
    27   5. Do a partial build of the jdk:
    37   6. Do a partial build of the jdk:
    28        cd make && gnumake all
    38        cd make && gnumake all
    29   
    39   
    30   6. Construct the images:
    40   7. Construct the images:
    31        cd make && gnumake images
    41        cd make && gnumake images
    32      The resulting JDK image should be found in build/*/j2sdk-image
    42      The resulting JDK image should be found in build/*/j2sdk-image
    33 
    43 
    34 
    44