1 README: |
1 README: |
2 This file should be located at the top of the OpenJDK Mercurial root |
2 This file should be located at the top of the OpenJDK Mercurial root |
3 repository. A full OpenJDK repository set (forest) should also include |
3 repository. A full OpenJDK repository set (forest) should also include |
4 the following 6 nested repositories: |
4 the following 7 nested repositories: |
5 "jdk", "hotspot", "langtools", "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/jdk8/jdk8 openjdk8 |
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 openjdk8 && 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/jdk8/jdk8/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 jdk7u7 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: |
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: |
40 http://hg.openjdk.java.net/jdk8/jdk8/raw-file/tip/README-builds.html |
40 http://hg.openjdk.java.net/jdk9/jdk9/raw-file/tip/README-builds.html |