Confused about Windows build
Fredrik Öhrström
fredrik.ohrstrom at oracle.com
Wed Oct 26 19:21:12 UTC 2011
----- philip.race at oracle.com skrev:
> Ulf started this by asking about openjdk 6 which does need VS2003.
> It doesn't support VS2010 .. and JDK 7 and 8 already build with VS2010
> Express and have done so for well over a year. No need to use that forest,
> just standard 7.
Except that it uses configure to setup all the variables for you.
And that the build will eventually be much faster than before.
//Fredrik
> On 10/26/2011 9:34 AM, Fredrik Öhrström wrote:
> > 2011/10/17 Ulf Zibis<Ulf.Zibis at gmx.de>:
> >> So do I really need to buy a VS 2003, or is there some "workaround"
> with the
> >> Platform SDK on Windows XP?
> > You might be interested in the build-infra/jdk7 forest.
> >
> > I just posted this to build-infra-dev
> >
> > It builds on WindowsXP, using Visual Studio 2010 Express (free
> edition).
> >
> > 1) Install Visual Studio.
> >
> > 2) Install cygwin + devel + zip and any other thing the configure
> > script might complain about.'
> >
> > 3) Install freetype from
> > http://gnuwin32.sourceforge.net/packages/freetype.htm and copy
> > libfreetype.dll.a into the more useful name freetype.dll
> > It usually installs in: /cygdrive/c/Program\ Files/GnuWin32
> >
> > 4) From the cygwin shell
> > ./configure --with-jvm-variant=server --disable-javac-multi-core
> > --disable-javac-deps --disable-javac-server
> > --with-freetype=/cygdrive/c/Program\ Files/GnuWin32
> >
> > 5) make
> >
> > 6) ./build/windows-i586-server-release/jdk/bin/javac Test.java
> > ./build/windows-i586-server-release/jdk/bin/java Test
> >
> > Success!
> >
> > Anyone cares to test?
> >
> > However jconsole does not work. As probably any other graphical
> > program. I know some parts that are still missing. :-) Will fix
> that.
> >
> > If you forget to do the disables above, then the build will be much
> > much slower because of a bug that forces a 2 minute timeout after
> each
> > repository. To be fixed.
> >
> > //Fredrik
More information about the build-dev
mailing list