problem building client variant in 9.0.1+11

Erik Joelsson erik.joelsson at oracle.com
Thu Nov 23 16:03:01 UTC 2017


Hello Mete,

The options to chose which jvm to build was never completely dynamic 
like that unfortunately. The jvm.cfg file is still assuming only a few 
specific combinations. A build of client only has never been an official 
combination so unfortunately fails. It's really too bad because it 
shouldn't be hard to fix that build logic, it just has never been a 
priority. I don't have access to source right now, but if you want to 
patch your source, look for jvm.cfg* and find the template for your 
platform and modify it to support client only.

At least that's my best guess as to what is failing here.

/Erik

On 2017-11-23 05:32, Mete Balci wrote:
> Hi,
>
> I am trying to build the client variant, but it fails with the output
> below. Is this a known issue or is there any specific configure option I
> should use ?
>
> Thanks,
>
> Mete
>
> Compiling 4 files for BUILD_JIGSAW_TOOLS
> Error: missing `server' JVM at
> `/home/ubuntu/jdk9u/build/linux-x86_64-normal-client-release/jdk/lib/server/libjvm.so'.
> Please install or use the JRE or JDK that contains these missing components.
> ExplodedImageOptimize.gmk:40: recipe for target
> '/home/ubuntu/jdk9u/build/linux-x86_64-normal-client-release/jdk/_packages_attribute.done'
> failed
> make[3]: ***
> [/home/ubuntu/jdk9u/build/linux-x86_64-normal-client-release/jdk/_packages_attribute.done]
> Error 4
> make/Main.gmk:356: recipe for target 'exploded-image-optimize' failed
> make[2]: *** [exploded-image-optimize] Error 1
>




More information about the build-dev mailing list