Tiny Application


The Tiny application capability of the MicroEJ Core Engine allows to build a main application optimized for size. This capability is suitable for environments requiring a small memory footprint.


Tiny application is an option disabled by default. To enable Tiny application of the MicroEJ Core Engine, set the property mjvm.standalone.configuration in configuration.xml file as follows:

<property name="mjvm.standalone.configuration" value="tiny"/>

See section Platform Customization for more info on the configuration.xml file.


In addition to general Limitations:

  • The maximum application code size (classes and methods) cannot exceed 256KB. This does not include application resources, immutable objects and internal strings which are not limited.
  • The option SOAR > Debug > Embed all type names has no effect. Only the fully qualified names of types marked as required types are embedded.