Building open jdk 8 from source fails

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Jan 23 12:12:19 UTC 2015


On 2015-01-18 04:47, lee json wrote:
> I switch to cloning repository at
> http://hg.openjdk.java.net/jdk8u/jdk8u-dev/ by command `hg clone
> http://hg.openjdk.java.net/jdk8u/jdk8u-dev`
>
> Then build with command line `bash ./configure
> --with-boot-jdk=/home/jason/jdk1.7.0_6` or `bash ./configure`. And
> then execute `make` or `make all` command.
>
> The first step i.e. configure successfully completes. Its output looks
> as the section configure. But failing compile source as the section of
> make, when calling make/ make all. With or wihtout make clean before
> make/ make all doesn't make any differences.
>
> How to fix such errors? Thanks

It looks like you have not gotten all source code correctly. Just 
cloning the top-level repo is not enough.

Try running "bash get_source.sh".

/Magnus




More information about the build-dev mailing list