the Minimum set when install jdk8u

David Holmes david.holmes at
Thu Oct 20 20:47:47 UTC 2016


Please keep things on the mailing list rather than private emails.

On 20/10/2016 11:49 PM, Diaz Soho wrote:
> Hi David,
> currently, the VM default is server,
> but how about the Minima VM setting ?

Minimal VM is built by specifying it as one of the jvm variants to 
configure eg:

./ --with-jvm-variants server,client,minimal1

note it is called minimal1 at the build level.

The Minimal VM is a variant of the client VM so only available for JIT 
supported platforms (not via Zero) and only for 32-bit.

If your JDK image has been built with the Minimal VM then it can be 
executed using "java -minimal ..."

Compact profiles are built by using "make profiles".


> 2016-10-20 21:38 GMT+08:00 David Holmes <david.holmes at>:
>> On 20/10/2016 11:28 PM, Diaz Soho wrote:
>>> Hi all,
>>> when I finish build jdk8u, and try to install to a local directory,
>>> I find the folder /usr/local/jvm/ include a lots of files , the size
>>> is very large.
>>> is there any minimun set that I can select to install to my embedded
>>> platform?
>>> for example:
>>> if I would like to run "java -jar <my_app.jar>" on my embedded
>>> platform, then how to figure out the minimum set that should be
>>> installed ?
>> The Compact Profiles support smaller runtime images (subsetting rt.jar), as
>> does the Minimal VM (stripped down with some services removed). But there
>> are only three defined profiles, you can't arbitrarily remove things from
>> rt.jar
>> David
>>> Thanks!
>>> Best Regards,
>>> DiazSoho

More information about the jdk8u-dev mailing list