author | ascarpino |
Wed, 19 Oct 2016 10:49:52 -0700 | |
changeset 41589 | e638cce63968 |
parent 34595 | 09596fe63e2d |
child 44078 | 673240c54c2e |
permissions | -rw-r--r-- |
0 | 1 |
README: |
7650
6a3a53d8eacc
7003845: README-builds document proper location of forest extension, provide alternatives
ohair
parents:
7360
diff
changeset
|
2 |
This file should be located at the top of the OpenJDK Mercurial root |
15787
496cd89abcc5
8004712: build-infra: Move user guide from web pages to repository
ohair
parents:
10208
diff
changeset
|
3 |
repository. A full OpenJDK repository set (forest) should also include |
24418 | 4 |
the following 7 nested repositories: |
5 |
"jdk", "hotspot", "langtools", "nashorn", "corba", "jaxws" and "jaxp". |
|
7650
6a3a53d8eacc
7003845: README-builds document proper location of forest extension, provide alternatives
ohair
parents:
7360
diff
changeset
|
6 |
|
15787
496cd89abcc5
8004712: build-infra: Move user guide from web pages to repository
ohair
parents:
10208
diff
changeset
|
7 |
The root repository can be obtained with something like: |
24418 | 8 |
hg clone http://hg.openjdk.java.net/jdk9/jdk9 openjdk9 |
34595
09596fe63e2d
8145391: Updated jprt.properties, devtools, jib and readme with SS12u4
erikj
parents:
24418
diff
changeset
|
9 |
|
15787
496cd89abcc5
8004712: build-infra: Move user guide from web pages to repository
ohair
parents:
10208
diff
changeset
|
10 |
You can run the get_source.sh script located in the root repository to get |
496cd89abcc5
8004712: build-infra: Move user guide from web pages to repository
ohair
parents:
10208
diff
changeset
|
11 |
the other needed repositories: |
24418 | 12 |
cd openjdk9 && sh ./get_source.sh |
10208
9bc94e291a10
7071275: Fix jdk7 references in README files, remove Forest Extension mentions
neugens
parents:
8646
diff
changeset
|
13 |
|
7650
6a3a53d8eacc
7003845: README-builds document proper location of forest extension, provide alternatives
ohair
parents:
7360
diff
changeset
|
14 |
People unfamiliar with Mercurial should read the first few chapters of |
6a3a53d8eacc
7003845: README-builds document proper location of forest extension, provide alternatives
ohair
parents:
7360
diff
changeset
|
15 |
the Mercurial book: http://hgbook.red-bean.com/read/ |
0 | 16 |
|
15787
496cd89abcc5
8004712: build-infra: Move user guide from web pages to repository
ohair
parents:
10208
diff
changeset
|
17 |
See http://openjdk.java.net/ for more information about OpenJDK. |
0 | 18 |
|
19 |
Simple Build Instructions: |
|
34595
09596fe63e2d
8145391: Updated jprt.properties, devtools, jib and readme with SS12u4
erikj
parents:
24418
diff
changeset
|
20 |
|
7650
6a3a53d8eacc
7003845: README-builds document proper location of forest extension, provide alternatives
ohair
parents:
7360
diff
changeset
|
21 |
0. Get the necessary system software/packages installed on your system, see |
24418 | 22 |
http://hg.openjdk.java.net/jdk9/jdk9/raw-file/tip/README-builds.html |
0 | 23 |
|
24418 | 24 |
1. If you don't have a jdk8 or newer jdk, download and install it from |
7650
6a3a53d8eacc
7003845: README-builds document proper location of forest extension, provide alternatives
ohair
parents:
7360
diff
changeset
|
25 |
http://java.sun.com/javase/downloads/index.jsp |
15787
496cd89abcc5
8004712: build-infra: Move user guide from web pages to repository
ohair
parents:
10208
diff
changeset
|
26 |
Add the /bin directory of this installation to your PATH environment |
496cd89abcc5
8004712: build-infra: Move user guide from web pages to repository
ohair
parents:
10208
diff
changeset
|
27 |
variable. |
7650
6a3a53d8eacc
7003845: README-builds document proper location of forest extension, provide alternatives
ohair
parents:
7360
diff
changeset
|
28 |
|
15787
496cd89abcc5
8004712: build-infra: Move user guide from web pages to repository
ohair
parents:
10208
diff
changeset
|
29 |
2. Configure the build: |
496cd89abcc5
8004712: build-infra: Move user guide from web pages to repository
ohair
parents:
10208
diff
changeset
|
30 |
bash ./configure |
34595
09596fe63e2d
8145391: Updated jprt.properties, devtools, jib and readme with SS12u4
erikj
parents:
24418
diff
changeset
|
31 |
|
15787
496cd89abcc5
8004712: build-infra: Move user guide from web pages to repository
ohair
parents:
10208
diff
changeset
|
32 |
3. Build the OpenJDK: |
8646
f07e5ed381a8
6896934: README: Document how the drop source bundles work for jaxp/jaxws
ohair
parents:
7650
diff
changeset
|
33 |
make all |
34595
09596fe63e2d
8145391: Updated jprt.properties, devtools, jib and readme with SS12u4
erikj
parents:
24418
diff
changeset
|
34 |
The resulting JDK image should be found in build/*/images/jdk |
0 | 35 |
|
8646
f07e5ed381a8
6896934: README: Document how the drop source bundles work for jaxp/jaxws
ohair
parents:
7650
diff
changeset
|
36 |
where make is GNU make 3.81 or newer, /usr/bin/make on Linux usually |
15787
496cd89abcc5
8004712: build-infra: Move user guide from web pages to repository
ohair
parents:
10208
diff
changeset
|
37 |
is 3.81 or newer. Note that on Solaris, GNU make is called "gmake". |
0 | 38 |
|
15787
496cd89abcc5
8004712: build-infra: Move user guide from web pages to repository
ohair
parents:
10208
diff
changeset
|
39 |
Complete details are available in the file: |
24418 | 40 |
http://hg.openjdk.java.net/jdk9/jdk9/raw-file/tip/README-builds.html |