MicroEJ is compatible with the Java language version 7.
Java source code is compiled by the Java compiler  into the binary format specified in the JVM specification . This binary code needs to be linked before execution: .class files and some other application-related files (see MicroEJ Classpath) are compiled to produce the final application that the MicroEJ Runtime can execute.
MicroEJ complies with the deterministic class initialization (<clinit>) order specified in [BON]. The application is statically analyzed from its entry points in order to generate a clinit dependency graph. The computed clinit sequence is the result of the topological sort of the dependency graph. An error is thrown if the clinit dependency graph contains cycles.
The MicroEJ Architecture features a green thread platform that can interact with the C world [SNI]. The (green) thread policy is as follows:
- preemptive for different priorities,
- round-robin for same priorities,
- “priority inheritance protocol” when priority inversion occurs. 
MicroEJ stacks (associated with the threads) automatically adapt their sizes according to the thread requirements: Once the thread has finished, its associated stack is reclaimed, freeing the corresponding RAM memory.
The MicroEJ Architecture includes a state-of-the-art memory management system, the Garbage Collector (GC). It manages a bounded piece of RAM memory, devoted to the Java world. The GC automatically frees dead Java objects, and defragments the memory in order to optimize RAM usage. This is done transparently while the MicroEJ Applications keep running.
Embedded Device Configuration (EDC)
The Embedded Device Configuration specification defines the minimal standard runtime environment for embedded devices. It defines all default API packages:
Beyond Profile (BON)
[BON] defines a suitable and flexible way to fully control both memory usage and start-up sequences on devices with limited memory resources. It does so within the boundaries of Java semantics. More precisely, it allows:
- Controlling the initialization sequence in a deterministic way.
- Defining persistent, immutable, read-only objects (that may be placed into non-volatile memory areas), and which do not require copies to be made in RAM to be manipulated.
- Defining immortal, read-write objects that are always alive.
- Defining and accessing compile-time constants.
|||The JDT compiler from the Eclipse IDE.|
|||Tim Lindholm & Frank Yellin, The Java™ Virtual Machine Specification, Second Edition, 1999|
|||This protocol raises the priority of a thread (that is holding a resource needed by a higher priority task) to the priority of that task.|