README
changeset 44719 d86ce729b8d4
parent 44078 673240c54c2e
child 47217 72e3ae9a25eb
equal deleted inserted replaced
44718:7c986f1402d7 44719:d86ce729b8d4
     1 README:
     1 Welcome to OpenJDK!
     2   This file should be located at the top of the OpenJDK Mercurial root
     2 ===================
     3   repository. A full OpenJDK repository set (forest) should also include
       
     4   the following 7 nested repositories:
       
     5     "jdk", "hotspot", "langtools", "nashorn", "corba", "jaxws"  and "jaxp".
       
     6 
     3 
     7   The root repository can be obtained with something like:
     4 For information about building OpenJDK, including how to fully retrieve all
     8     hg clone http://hg.openjdk.java.net/jdk9/jdk9 openjdk9
     5 source code, please see either of these:
     9 
     6 
    10   You can run the get_source.sh script located in the root repository to get
     7   * common/doc/building.html   (html version)
    11   the other needed repositories:
     8   * common/doc/building.md     (markdown version)
    12     cd openjdk9 && sh ./get_source.sh
       
    13 
     9 
    14   People unfamiliar with Mercurial should read the first few chapters of
    10 See http://openjdk.java.net/ for more information about OpenJDK.
    15   the Mercurial book: http://hgbook.red-bean.com/read/
       
    16 
       
    17   See http://openjdk.java.net/ for more information about OpenJDK.
       
    18 
       
    19 Simple Build Instructions:
       
    20 
       
    21   0. Get the necessary system software/packages installed on your system, see
       
    22      http://hg.openjdk.java.net/jdk9/jdk9/raw-file/tip/README-builds.html
       
    23 
       
    24   1. If you don't have a jdk8 or newer jdk, download and install it from
       
    25      http://java.sun.com/javase/downloads/index.jsp
       
    26      Add the /bin directory of this installation to your PATH environment
       
    27      variable.
       
    28 
       
    29   2. Configure the build:
       
    30        bash ./configure
       
    31 
       
    32   3. Build the OpenJDK:
       
    33        make all
       
    34      The resulting JDK image should be found in build/*/images/jdk
       
    35 
       
    36 where make is GNU make 3.81 or newer, /usr/bin/make on Linux usually
       
    37 is 3.81 or newer. Note that on Solaris, GNU make is called "gmake".
       
    38 
       
    39 Complete details are available in the file:
       
    40      http://hg.openjdk.java.net/jdk9/jdk9/raw-file/tip/README-builds.html