view README @ 16887:8a14f9275ba9

8176471: [TESTBUG] runtime/modules/ fails with OpenJDK: java.lang.RuntimeException: 'java version ' missing from stdout/stderr Summary: Check for strings such as " version " and "Runtime Environment" that appear in 'java -version' for both open and closed builds. Reviewed-by: coleenp
author hseigel
date Mon, 13 Mar 2017 16:23:43 -0400
parents 217c842d710b
line wrap: on
line source
  This file should be located at the top of the jdk Mercurial repository.

  See for more information about the OpenJDK.

Simple Build Instructions:

  1. Download and install a JDK 6 from
     Set the environment variable ALT_BOOTDIR to the location of this JDK 6.

  2. Either download and install the latest JDK7 from, or build your own complete
     OpenJDK7 by using the top level Makefile in the OpenJDK Mercurial forest.
     Set the environment variable ALT_JDK_IMPORT_PATH to the location of
     this latest JDK7 or OpenJDK7 build.
  3. Check the sanity of doing a build with the current machine:
       cd make && gnumake sanity
     See README-builds.html if you run into problems.
  4. Do a partial build of the jdk:
       cd make && gnumake all
  5. Construct the images:
       cd make && gnumake images
     The resulting JDK image should be found in build/*/j2sdk-image