jdk 8 building just jdk
Erik Joelsson
erik.joelsson at oracle.com
Mon Aug 5 11:21:00 UTC 2013
On 2013-07-27 07:49, Alan Bateman wrote:
> On 26/07/2013 20:38, Mike Duigou wrote:
>> On Jul 26 2013, at 18:41 , Pete Brunet wrote:
>>
>>> Am doing my first jdk8 build. After reading through the build readme I
>>> didn't see any info on building just jdk and using an import lib. I'm
>>> guessing this is no longer possible but checking...
>> It's probably possible but usually not necessary. Even on a modest
>> system a full build takes only 20 minutes and an incremental rebuild
>> is less than 3 minutes (even faster if you use sjavac or JDK_FILTER).
>>
> I agree, it shouldn't really be necessary to do partial builds any
> more (it was way too fragile in the past with the old build). That
> said, the new build does have --with-import-* options to configure the
> build to import some of the components from another JDK.
>
You can skip build of and import hotspot with
--with-import-hotspot=/path/to/hotspot which can either point to a full
jdk or the export dir from a hotspot build directory.
MSYS has limited support, but is not faster than cygwin in my
experience. Last I tried, MSYS required a JOBS=1 build to not crash.
/Erik
More information about the build-dev
mailing list