jdk8 build failure on xubuntu 13.04 32 bit: make: the `-j' option requires a positive integral argument

Weijun Wang weijun.wang at oracle.com
Mon May 6 11:01:55 UTC 2013

On 5/6/13 3:35 PM, Erik Joelsson wrote:
> I would be interested to see the spec.gmk generated in the build output
> directory. Specifically the value of the JOBS variable.


I noticed the configure output includes

checking for number of cores... 1
checking for memory size... 1002 MB
checking for appropriate number of jobs to run in parallel... 0

This is a VirtualBox guest. Maybe the memory is too low for a build.

With Sergey's suggestion:

> Try to run it with this option:
> ./configure --with-jobs=1

It becomes


and make is running now. Anyway, I think I should give it more memory.


> /Erik
> On 2013-05-05 15:34, Weijun Wang wrote:
>> I just installed a Xubuntu 13.04 32 bit machine. Using 7u21 b13 as
>> boot jdk, "bash configure" prompted me to install several packages but
>> running make shows:
>> -----START-----
>> Building Java(TM) for target 'default' in configuration
>> 'linux-x86-normal-server-release'
>> ## Starting langtools
>> make: the `-j' option requires a positive integral argument
>> ...
>> This program built for i686-pc-linux-gnu
>> Report bugs to <bug-make at gnu.org>
>> make: *** [langtools-only] Error 2
>> -----END-----
>> What's wrong here?
>> Thanks
>> Max

More information about the build-dev mailing list