jdk/README
author jjg
Tue, 05 Aug 2008 17:07:13 -0700
changeset 1041 385dfbf4ee7e
parent 2 90ce3da70b43
child 2658 43e06bc950ec
permissions -rw-r--r--
6733995: legal notice repair on langtools/src/share/classes/com/sun/tools/javap/JavapTask.java Reviewed-by: ksrini

README:
  This file should be located at the top of the jdk Mercurial repository.

  See http://openjdk.java.net/ for more information about the OpenJDK.

Simple Build Instructions:

  1. Download and install a JDK 6 from
     http://java.sun.com/javase/downloads/index.jsp
     Set the environment variable ALT_BOOTDIR to the location of this JDK 6.

  2. Download and install the Binary Plugs for the most recent JDK7 from
     http://download.java.net/openjdk/jdk7/
     Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
     these binary plugs.
     
  3. Either download and install the latest JDK7 from
     http://download.java.net/openjdk/jdk7/, or build your own complete
     OpenJDK7 by using the top level Makefile in the OpenJDK Mercurial forest.
     Set the environment variable ALT_JDK_IMPORT_PATH to the location of
     this latest JDK7 or OpenJDK7 build.
     
  4. Check the sanity of doing a build with the current machine:
       cd make && gnumake sanity
     See README-builds.html if you run into problems.
  
  5. Do a partial build of the jdk:
       cd make && gnumake all
  
  6. Construct the images:
       cd make && gnumake images
     The resulting JDK image should be found in build/*/j2sdk-image