This build depends on successful builds of the Hotspot, JAX, JAXWS, Langtools and Corba packages.
Add the below lines to the build.properties file in case it does not already exist:
make.options=\ ALT_BOOTDIR=/usr/lib/jvm/java-7-openjdk-amd64 \ ALT_LANGTOOLS_DIST=~/sources/jdk8_tl/langtools/dist \ ALT_CORBA_DIST=~/sources/jdk8_tl/corba/dist \ ALT_JAXP_DIST=~/sources/jdk8_tl/jaxp/dist \ ALT_JAXWS_DIST=~/sources/jdk8_tl/jaxws/dist \ HOTSPOT_IMPORT_PATH=~/sources/jdk8_tl/hotspot/build/linux-amd64_backup/hotspot/import \ ALT_HOTSPOT_IMPORT_PATH=~/sources/jdk8_tl/hotspot/build/linux-amd64_backup/hotspot/import \ HOTSPOT_SERVER_PATH=~/sources/jdk8_tl/build/linux-amd64_backup/hotspot/import/jre/lib/amd64/server \ ALT_HOTSPOT_SERVER_PATH=~/sources/jdk8_tl/build/linux-amd64_backup/hotspot/import/jre/lib/amd64/server \ OPENJDK=true
Import a project using the Import a project from existing Ant BuildFile option via the New > Project > Other menu option and select ~/sources/jdk8_tl/jdk/make/eclipse/j2se/build.xml file for the j2se project.
Alternatively the whole project can be loaded as a C/C++ project following the same instructions as for the Hotspot project above. The above environment variables settings will be required to be added to the project.
Build the project via the Project > Build Project option and wait for it to finish.
At the moment this project does not build in Eclipse or via the command-prompt – investigations underway.
Once all of these packages are build successfully, close down Eclipse.
For sanity check purposes please ensure that the individual packages / projects build from the command prompt and the OpenJDK project as a whole builds from the command prompt i.e.
This is to ensure one process hasn't negatively impacted the other projects. For a list of project names refer to the section at the top of page.