Windows instructions for OpenJDK9
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Fri Nov 21 18:35:19 UTC 2014
On 2014-11-15 00:32, Mani Sarkar wrote:
> Hi all,
> Oti, Patrick and Ludovich have worked together during #devoxx on fixing the
> Windows build for OpenJDK8 and Oti has updated the instructions for OpenJDK
> 9 for Windows, see https://java.net/projects/adoptopenjdk/pages/GetSource,
> please give this a whirl and get back to us on the mailing list.
Some comments on the Windows parts:
The officially supported build environment for Windows is Cygwin. I have
not heard about babun before, but if it integrates Cygwin at its core,
it should probably work. I'm a bit wary about the existence of "c:/..."
style paths. Internally, the build system uses only /cygdrive/c/...
style paths, and if a c:/... path slips by, things are likely to break.
It is recommended to use the mercurial from cygwin instead of
TortoiseHG, to avoid unpleasant surprises related to file permissions,
and once again, the c:/... paths problem. You can use TortoiseHG as a
shell add-on in Windows, but don't use it for cloning.
get_source.sh is not executable, so you need to run "bash
get_source.sh", not "./get_source.sh".
On a more general note, I have noted that there is a widespread
phenomenon on creating Yet Another Guide To Building OpenJDK, most of
them more or less degraded permutations on the best practices. I think
it would be better if there was a single official document that was good
enough for everyone to use. I realize that the current official build
documentation is severly lacking in usability, but I'm not sure what to
do about it, or where to put a suitable document. I'm afraid part of the
problem is that it is not clear where to go for proper, up-to-date,
More information about the adoption-discuss