Building on Windoze (64 bit)

Erik Joelsson erik.joelsson at
Wed Oct 29 09:07:37 UTC 2014

We have probably forgotten to put the correct conditionals around some 
of the X11 checks so they are executed on Windows. It should be harmless 
though. Freetype is however needed, as has been pointed out by others 

A note on freetype is to be sure that it's 64bit if you are building 
64bit OpenJDK. It's an easy mistake to make since I think freetype 
builds 32bit by default.


On 2014-10-28 20:25, Dave Pointon wrote:
> Hi again all ,
> Pray tell, does anyone on here have any problem building on 64 bit Windoze
> for a 64 bit Windoze target ? I ask because as you may, or may not,
> remember/know, I have the task of attempting to bring the IBM build system
> into line with the current jdk8 autoconf based process and whilst doing so,
> I observed the following fatal error whilst running configure ...
> .
> .
> .
> checking what is not needed on Windows?... alsa cups pulse x11
> checking for Mac OS X Java Framework... no
> checking for X... no
> checking for X11/extensions/shape.h... no
> configure: error: Could not find freetype! You need to build a 64-bit
> version of freetype.
> This is not readily available.
> You can find source code and build instructions on
> If you put the resulting build in "C:\Program Files\GnuWin32", it will be
> found automatically.
> configure exiting with result code 1
> It seems rather incongruous to me that configure decides that X isn't
> required and then goes off in search of it ?
> Can anyone confirm/refute my assertion and indeed observation. If it is
> indeed a defect, then I will, raise a defect and fix it, if not, then can
> someone alborate as to what is actually happening.
> ​TIA ,​
> --
> Dave Pointon FIAP MBCS
> Now I saw, tho' too late, the folly of beginning a work before we count the
> cost and before we we judge rightly of our strength to go thro' with it -
> Robinson Crusoe

More information about the build-dev mailing list