README 1.5 KB
Newer Older
D
duke 已提交
1
README:
2
  This file should be located at the top of the OpenJDK Mercurial root
3 4
  repository. A full OpenJDK repository set (forest) should also include
  the following 6 nested repositories:
5
    "jdk", "hotspot", "langtools", "corba", "jaxws"  and "jaxp".
6

7
  The root repository can be obtained with something like:
8 9
    hg clone http://hg.openjdk.java.net/jdk8/jdk8 openjdk8
  
10 11
  You can run the get_source.sh script located in the root repository to get
  the other needed repositories:
12 13
    cd openjdk8 && sh ./get_source.sh

14 15
  People unfamiliar with Mercurial should read the first few chapters of
  the Mercurial book: http://hgbook.red-bean.com/read/
D
duke 已提交
16

17
  See http://openjdk.java.net/ for more information about OpenJDK.
D
duke 已提交
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/jdk8/jdk8/raw-file/tip/README-builds.html
D
duke 已提交
23

24
  1. If you don't have a jdk7u7 or newer jdk, download and install it from
D
duke 已提交
25
     http://java.sun.com/javase/downloads/index.jsp
26 27
     Add the /bin directory of this installation to your PATH environment
     variable.
D
duke 已提交
28

29 30
  2. Configure the build:
       bash ./configure
D
duke 已提交
31
  
32
  3. Build the OpenJDK:
33
       make all
34
     The resulting JDK image should be found in build/*/images/j2sdk-image
D
duke 已提交
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".
D
duke 已提交
38

39 40
Complete details are available in the file:
     http://hg.openjdk.java.net/jdk8/jdk8/raw-file/tip/README-builds.html