0
|
1 |
README:
|
|
2 |
This file should be located at the top of the OpenJDK Mercurial repository
|
|
3 |
forest. This top or enclosing repository will include a "make" directory,
|
|
4 |
and a Makefile at the very top of the repository.
|
|
5 |
It should also include the 6 repositories: "jdk", "hotspot", "langtools",
|
|
6 |
"corba", "jaxws" and "jaxp".
|
|
7 |
|
|
8 |
See http://openjdk.java.net/ for more information about the OpenJDK.
|
|
9 |
|
|
10 |
Simple Build Instructions:
|
|
11 |
|
|
12 |
1. Download and install a JDK 6 from
|
|
13 |
http://java.sun.com/javase/downloads/index.jsp
|
|
14 |
Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
|
|
15 |
|
|
16 |
2. Download and install the Binary Plugs for the most recent JDK7 from
|
|
17 |
http://download.java.net/openjdk/jdk7/
|
|
18 |
Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
|
|
19 |
these binary plugs.
|
|
20 |
|
|
21 |
3. Check the sanity of doing a build with the current machine:
|
|
22 |
gnumake sanity
|
|
23 |
See README-builds.html if you run into problems.
|
|
24 |
|
|
25 |
4. Do a complete build of the jdk:
|
|
26 |
gnumake all
|
|
27 |
The resulting JDK image should be found in build/*/j2sdk-image
|
|
28 |
|
|
29 |
where gnumake is GNU make 3.78.1 or newer, /usr/bin/make on Linux and
|
|
30 |
/usr/sfw/bin/gmake or /opt/sfw/bin/gmake on Solaris.
|
|
31 |
|