Successfully building 32- and 64-bit OpenJDK 8 on WinXP/64bit with free tools only

Sean Chou zhouyx at linux.vnet.ibm.com
Tue Nov 8 06:38:07 UTC 2011


 Hi Phil,

    The situation I found is strange: the JDK we build works well on
windows which
have the building environment. Eg. machine1 and machine2 both can build
windows
openjdk. If I copy a jdk built on machine1 to machine2, it works well. If
machine3
doesn't have the build environment, it reports error about freetype.dll.
    I haven't investigate the problem,  however the freetype.dll is there
with awt.dll. So I guessed it was something related to freetype.dll
installation.
    The attachment is the error information.

On Tue, Nov 8, 2011 at 1:19 AM, Phil Race <philip.race at oracle.com> wrote:

> Sean,
>
> I am not sure what you mean by "installed" - installed into
> \windows\system32
> or installed in the JRE bin directory?  But the latter is the only way its
> supposed to
> work, and the build should take the copy of freetype.dll you provide to
> it, and
> copy it to that location. At runtime, freetype is treated like any other
> JRE provided
> DLL, such as awt.dll, net.dll, etc. The difference is only at build time,
> since the openjdk
> sources don't contain the freetype sources. You need to build it
> separately.
>
> -phil.
>
>
> On 11/6/2011 7:28 PM, Sean Chou wrote:
>
>> Hi Volker,
>>
>>    I would like to know have you tried to run gui application with the
>> build on another
>> windows machine which doesn't have freetype.dll installed ?  I had built
>> jdk on
>> windows but found that it can run gui applications in the machine built
>> it, but cann't
>> run gui application in machines without freetype installed.
>>
>>
>> On Sat, Oct 29, 2011 at 2:19 AM, Volker Simonis <volker.simonis at gmail.com<mailto:
>> volker.simonis at gmail.**com <volker.simonis at gmail.com>>> wrote:
>>
>>    Hi,
>>
>>    I've put together a short description on how to build both, a 64- and
>>    a 32-bit version of OpenJDK 8 on a plain, vanilla WindowsXP 64-bit
>>    operating system using only free (as in free beer) tools:
>>
>>    http://weblogs.java.net/blog/**simonis/archive/2011/10/28/**
>> yaojowbi-yet-another-openjdk-**windows-build-instruction<http://weblogs.java.net/blog/simonis/archive/2011/10/28/yaojowbi-yet-another-openjdk-windows-build-instruction>
>>
>>    It seems as if  it is not that hard anymore nowadays:)
>>
>>    Regards,
>>    Volker
>>
>>
>>
>>
>> --
>> Best Regards,
>> Sean Chou
>>
>>
>


-- 
Best Regards,
Sean Chou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20111108/559938c4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.log
Type: application/octet-stream
Size: 3637 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20111108/559938c4/error.log>


More information about the build-dev mailing list