Mon, 26 Jun 2017 22:27:57 -0700
Merge
duke@2 | 1 | README: |
ohair@276 | 2 | This file should be located at the top of the OpenJDK Mercurial root |
ohair@632 | 3 | repository. A full OpenJDK repository set (forest) should also include |
ohair@632 | 4 | the following 6 nested repositories: |
ohair@276 | 5 | "jdk", "hotspot", "langtools", "corba", "jaxws" and "jaxp". |
ohair@276 | 6 | |
ohair@632 | 7 | The root repository can be obtained with something like: |
neugens@359 | 8 | hg clone http://hg.openjdk.java.net/jdk8/jdk8 openjdk8 |
neugens@359 | 9 | |
ohair@632 | 10 | You can run the get_source.sh script located in the root repository to get |
ohair@632 | 11 | the other needed repositories: |
neugens@359 | 12 | cd openjdk8 && sh ./get_source.sh |
neugens@359 | 13 | |
ohair@276 | 14 | People unfamiliar with Mercurial should read the first few chapters of |
ohair@276 | 15 | the Mercurial book: http://hgbook.red-bean.com/read/ |
duke@2 | 16 | |
ohair@632 | 17 | See http://openjdk.java.net/ for more information about OpenJDK. |
duke@2 | 18 | |
duke@2 | 19 | Simple Build Instructions: |
ohair@276 | 20 | |
ohair@276 | 21 | 0. Get the necessary system software/packages installed on your system, see |
ohair@632 | 22 | http://hg.openjdk.java.net/jdk8/jdk8/raw-file/tip/README-builds.html |
duke@2 | 23 | |
ohair@632 | 24 | 1. If you don't have a jdk7u7 or newer jdk, download and install it from |
duke@2 | 25 | http://java.sun.com/javase/downloads/index.jsp |
ohair@632 | 26 | Add the /bin directory of this installation to your PATH environment |
ohair@632 | 27 | variable. |
duke@2 | 28 | |
ohair@632 | 29 | 2. Configure the build: |
ohair@632 | 30 | bash ./configure |
duke@2 | 31 | |
ohair@632 | 32 | 3. Build the OpenJDK: |
ohair@320 | 33 | make all |
ohair@632 | 34 | The resulting JDK image should be found in build/*/images/j2sdk-image |
duke@2 | 35 | |
ohair@320 | 36 | where make is GNU make 3.81 or newer, /usr/bin/make on Linux usually |
ohair@632 | 37 | is 3.81 or newer. Note that on Solaris, GNU make is called "gmake". |
duke@2 | 38 | |
ohair@632 | 39 | Complete details are available in the file: |
ohair@632 | 40 | http://hg.openjdk.java.net/jdk8/jdk8/raw-file/tip/README-builds.html |