Build openjdk?

Kelly O'Hair Kelly.Ohair at Sun.COM
Thu Sep 17 22:37:58 UTC 2009


You need a JDK to build the JDK.

If you have a JDK (jdk6 vintage) on your system already, yes
you can use that, just point ALT_BOOTDIR at it and skip step 1.

-kto

Peng Yu wrote:
> Hi,
> 
> README of openjdk-7-ea-src-b71-03_sep_2009 says the following. I am
> wondering why I need step 1. Can I start with step 2 directly?
> 
> Simple Build Instructions:
> 
>   1. Download and install a JDK 6 from
>      http://java.sun.com/javase/downloads/index.jsp
>      Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
> 
>   2. Download and install the Binary Plugs for the most recent JDK7 from
>      http://download.java.net/openjdk/jdk7/
>      Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
>      these binary plugs.
> 
>   3. Check the sanity of doing a build with the current machine:
>        gnumake sanity
>      See README-builds.html if you run into problems.
> 
>   4. Do a complete build of the jdk:
>        gnumake all
>      The resulting JDK image should be found in build/*/j2sdk-image
> 
> 
> Regards,
> Peng



More information about the build-dev mailing list