Embedded Java

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Embedded Java at the Embedded World fair 2014 in Nuremberg
IS2T embedded Java demonstration at Embedded World exhibition 2014 in Nuremberg

Embedded Java refers to versions of the Java program language that are designed for embedded systems. Since 2010 embedded Java implementations have come closer to standard Java, and are now virtually identical to the Java Standard Edition. Since Java 9 customization of the Java Runtime through modularization removes the need for specialized Java profiles targeting embedded devices.

History[edit]

Although in the past some differences existed between embedded Java and traditional PC based Java, the only difference now is that embedded Java code in these embedded systems is mainly contained in constrained memory, such as flash memory. A complete convergence has taken place since 2010, and now Java software components running on large systems can run directly with no recompilation at all on design-to-cost mass-production devices (such as consumers, industrial, white goods, healthcare, metering, smart markets in general)

CORE embedded Java API for a unified Embedded Java ecosystem[edit]

The core Java API

In order for a software component to run on any Java system, it must target the core minimal API provided by the different providers of the embedded Java ecosystem. Companies such as Aplix, Google, IS2T, Myriad, Oracle, ... share the same eight packages of pre-written programs. The packages (java.lang, java.io, java.util, ... ) form the CORE Embedded Java API, which means that embedded programmers using the Java language can use them in order to make any worthwhile use of the Java language.

Java SE embedded API from ORACLE[edit]

Java SE embedded is based on desktop Java Platform, Standard Edition.[1] It is designed to be used on systems with at least 32 MB of RAM, and can work on Linux ARM, x86, or Power Architecture, and Windows XP and Windows XP Embedded architectures.

Java ME embedded API from ORACLE[edit]

Java ME embedded is based on the Connected Device Configuration subset of Java Platform, Micro Edition.[2] It is designed to be used on systems with at least 8 MB of RAM, and can work on Linux ARM, PowerPC, or MIPS architecture.

The offering of Java for embedded devices is growing fast with a large ecosystem of companies that provide Embedded Java virtual machines for ARM MCU based Cortex-M series (such as ST, Freescale, Renesas, NXP) and MPU (such as TI, Renesas, Freescale).

Embedded Java minimal requirements start at 30KB of (internal) flash and less than 2KB of (internal) RAM. In order to save Bill Of Material, most Embedded Java engines execute code in place, which avoids copying the code in RAM.

See also[edit]

References[edit]

  1. ^ "JAVA SE FOR EMBEDDED". Oracle Corporation. Retrieved 2011-09-04. 
  2. ^ "JAVA ME FOR EMBEDDED". Oracle Corporation. Retrieved 2011-09-04. 

External links[edit]