Building/distributing more than one VM in a single JDK distribution

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Thu Mar 13 13:23:39 UTC 2025


On 2025-03-11 18:20, Julian Waters wrote:

> That's weird that Debian has both server and zero in the same bundle. 
> From what I recall, Zero is the only VM variant that can only be 
> compiled by itself; It cannot be combined with other VM variants, I'm 
> pretty sure it's mentioned somewhere in the build system

I looked at Debians build script as posted by Vladimir Petko. They 
essentially do what I propose to do with `--with-import-jvms`; they 
build zero separately, and then copy it into place and modify jvm.cfg.

That also proves that this is indeed a feasible solution.

/Magnus



More information about the jdk-dev mailing list