README
author ohair
Thu, 14 Aug 2008 20:59:51 -0700
changeset 1024 2253d6d6cf2c
parent 0 fd16c54261b3
child 7360 39aa1820e934
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
fd16c54261b3 Initial load
duke
parents:
diff changeset
     1
README:
fd16c54261b3 Initial load
duke
parents:
diff changeset
     2
  This file should be located at the top of the OpenJDK Mercurial repository
fd16c54261b3 Initial load
duke
parents:
diff changeset
     3
  forest. This top or enclosing repository will include a "make" directory,
fd16c54261b3 Initial load
duke
parents:
diff changeset
     4
  and a Makefile at the very top of the repository.
fd16c54261b3 Initial load
duke
parents:
diff changeset
     5
  It should also include the 6 repositories: "jdk", "hotspot", "langtools",
fd16c54261b3 Initial load
duke
parents:
diff changeset
     6
  "corba", "jaxws"  and "jaxp".
fd16c54261b3 Initial load
duke
parents:
diff changeset
     7
fd16c54261b3 Initial load
duke
parents:
diff changeset
     8
  See http://openjdk.java.net/ for more information about the OpenJDK.
fd16c54261b3 Initial load
duke
parents:
diff changeset
     9
fd16c54261b3 Initial load
duke
parents:
diff changeset
    10
Simple Build Instructions:
fd16c54261b3 Initial load
duke
parents:
diff changeset
    11
fd16c54261b3 Initial load
duke
parents:
diff changeset
    12
  1. Download and install a JDK 6 from
fd16c54261b3 Initial load
duke
parents:
diff changeset
    13
     http://java.sun.com/javase/downloads/index.jsp
fd16c54261b3 Initial load
duke
parents:
diff changeset
    14
     Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
fd16c54261b3 Initial load
duke
parents:
diff changeset
    15
fd16c54261b3 Initial load
duke
parents:
diff changeset
    16
  2. Download and install the Binary Plugs for the most recent JDK7 from
fd16c54261b3 Initial load
duke
parents:
diff changeset
    17
     http://download.java.net/openjdk/jdk7/
fd16c54261b3 Initial load
duke
parents:
diff changeset
    18
     Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
fd16c54261b3 Initial load
duke
parents:
diff changeset
    19
     these binary plugs.
fd16c54261b3 Initial load
duke
parents:
diff changeset
    20
     
fd16c54261b3 Initial load
duke
parents:
diff changeset
    21
  3. Check the sanity of doing a build with the current machine:
fd16c54261b3 Initial load
duke
parents:
diff changeset
    22
       gnumake sanity
fd16c54261b3 Initial load
duke
parents:
diff changeset
    23
     See README-builds.html if you run into problems.
fd16c54261b3 Initial load
duke
parents:
diff changeset
    24
  
fd16c54261b3 Initial load
duke
parents:
diff changeset
    25
  4. Do a complete build of the jdk:
fd16c54261b3 Initial load
duke
parents:
diff changeset
    26
       gnumake all
fd16c54261b3 Initial load
duke
parents:
diff changeset
    27
     The resulting JDK image should be found in build/*/j2sdk-image
fd16c54261b3 Initial load
duke
parents:
diff changeset
    28
fd16c54261b3 Initial load
duke
parents:
diff changeset
    29
where gnumake is GNU make 3.78.1 or newer, /usr/bin/make on Linux and
fd16c54261b3 Initial load
duke
parents:
diff changeset
    30
/usr/sfw/bin/gmake or /opt/sfw/bin/gmake on Solaris.
fd16c54261b3 Initial load
duke
parents:
diff changeset
    31