NOTE$SOURCE_CODE is where you installed the source code to. If you are using the AdoptOpenJDKVMBuild then this is /home/openjdk/sources If you are using YourOwnEnvironment then it's likely to be something like /home/<your username>/sources

Auto Configure

We're using the new build-infra based build system for OpenJDK.

NOTE You cannot run this new build and the older Old_Build at the same time, it's one or the other. In particular if you'd started with the older build, you'd need to unset the ALT_ variables that are part of the Old_Build set-up instructions.

To execute the new build-infra build, run the following:

cd $SOURCE_CODE ;
cd jdk8_tl ;
bash configure ;

NOTE: With the new build system, its no long needed to be navigate to the ../common/makefiles folder, you can run bash configure from the root (i.e. $SOURCE_CODE/jdk8_tl). NOTE: This will likely fail the first time due to missing packages. The autoconf tool will tell you exactly what's missing, see the Install Missing Packages section below.

Note: In the case of Ubuntu 12.10, the above might fail when it does not find a valid installation of JDK or JRE. It can be fixed by running sudo apt-get install openjdk-7-jre-headless, or any other openjdk-7 package of choice.