README
author Jaroslav Tulach <jtulach@netbeans.org>
Tue, 16 Jun 2009 17:53:32 +0200
changeset 1238 57914fd9382f
parent 0 37a05a11f281
child 1663 7e7153da24ef
permissions -rw-r--r--
Separatelly compiling Beans and Applet modules. Using 'code injection' to allow Beans class to perform its Applet related functionality if Applet module is around.
duke@0
     1
README:
duke@0
     2
  This file should be located at the top of the jdk Mercurial repository.
duke@0
     3
duke@0
     4
  See http://openjdk.java.net/ for more information about the OpenJDK.
duke@0
     5
duke@0
     6
Simple Build Instructions:
duke@0
     7
duke@0
     8
  1. Download and install a JDK 6 from
duke@0
     9
     http://java.sun.com/javase/downloads/index.jsp
duke@0
    10
     Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
duke@0
    11
peterz@1173
    12
  2. Download and install the JIBX libraries, version 1.1.5 from
peterz@1173
    13
     http://sourceforge.net/project/showfiles.php?group_id=69358&package_id=68290
peterz@1173
    14
     You'll need the following four JAR files:
peterz@1173
    15
         bcel.jar
peterz@1173
    16
         jibx-bind.jar
peterz@1173
    17
         jibx-run.jar
peterz@1173
    18
         xpp3.jar
peterz@1173
    19
     Set the environment variable ALT_JIBX_LIBS_PATH to the location of
peterz@1173
    20
     these JAR files.
peterz@1173
    21
     
peterz@1173
    22
  3. Download and install the Binary Plugs for the most recent JDK7 from
duke@0
    23
     http://download.java.net/openjdk/jdk7/
duke@0
    24
     Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
duke@0
    25
     these binary plugs.
duke@0
    26
     
peterz@1173
    27
  4. Either download and install the latest JDK7 from
duke@0
    28
     http://download.java.net/openjdk/jdk7/, or build your own complete
duke@0
    29
     OpenJDK7 by using the top level Makefile in the OpenJDK Mercurial forest.
duke@0
    30
     Set the environment variable ALT_JDK_IMPORT_PATH to the location of
duke@0
    31
     this latest JDK7 or OpenJDK7 build.
duke@0
    32
     
peterz@1173
    33
  5. Check the sanity of doing a build with the current machine:
duke@0
    34
       cd make && gnumake sanity
duke@0
    35
     See README-builds.html if you run into problems.
duke@0
    36
  
peterz@1173
    37
  6. Do a partial build of the jdk:
duke@0
    38
       cd make && gnumake all
duke@0
    39
  
peterz@1173
    40
  7. Construct the images:
duke@0
    41
       cd make && gnumake images
duke@0
    42
     The resulting JDK image should be found in build/*/j2sdk-image
duke@0
    43
duke@0
    44