README
changeset 34729 b56d78298f9f
parent 34595 09596fe63e2d
child 44078 673240c54c2e
equal deleted inserted replaced
34728:1e7bf1564066 34729:b56d78298f9f
     4   the following 7 nested repositories:
     4   the following 7 nested repositories:
     5     "jdk", "hotspot", "langtools", "nashorn", "corba", "jaxws"  and "jaxp".
     5     "jdk", "hotspot", "langtools", "nashorn", "corba", "jaxws"  and "jaxp".
     6 
     6 
     7   The root repository can be obtained with something like:
     7   The root repository can be obtained with something like:
     8     hg clone http://hg.openjdk.java.net/jdk9/jdk9 openjdk9
     8     hg clone http://hg.openjdk.java.net/jdk9/jdk9 openjdk9
     9   
     9 
    10   You can run the get_source.sh script located in the root repository to get
    10   You can run the get_source.sh script located in the root repository to get
    11   the other needed repositories:
    11   the other needed repositories:
    12     cd openjdk9 && sh ./get_source.sh
    12     cd openjdk9 && sh ./get_source.sh
    13 
    13 
    14   People unfamiliar with Mercurial should read the first few chapters of
    14   People unfamiliar with Mercurial should read the first few chapters of
    15   the Mercurial book: http://hgbook.red-bean.com/read/
    15   the Mercurial book: http://hgbook.red-bean.com/read/
    16 
    16 
    17   See http://openjdk.java.net/ for more information about OpenJDK.
    17   See http://openjdk.java.net/ for more information about OpenJDK.
    18 
    18 
    19 Simple Build Instructions:
    19 Simple Build Instructions:
    20   
    20 
    21   0. Get the necessary system software/packages installed on your system, see
    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
    22      http://hg.openjdk.java.net/jdk9/jdk9/raw-file/tip/README-builds.html
    23 
    23 
    24   1. If you don't have a jdk8 or newer jdk, download and install it from
    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
    25      http://java.sun.com/javase/downloads/index.jsp
    26      Add the /bin directory of this installation to your PATH environment
    26      Add the /bin directory of this installation to your PATH environment
    27      variable.
    27      variable.
    28 
    28 
    29   2. Configure the build:
    29   2. Configure the build:
    30        bash ./configure
    30        bash ./configure
    31   
    31 
    32   3. Build the OpenJDK:
    32   3. Build the OpenJDK:
    33        make all
    33        make all
    34      The resulting JDK image should be found in build/*/images/j2sdk-image
    34      The resulting JDK image should be found in build/*/images/jdk
    35 
    35 
    36 where make is GNU make 3.81 or newer, /usr/bin/make on Linux usually
    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".
    37 is 3.81 or newer. Note that on Solaris, GNU make is called "gmake".
    38 
    38 
    39 Complete details are available in the file:
    39 Complete details are available in the file: