Resources

JAVA SE EMBEDDED DOCUMENTATION


Java Logo

 

Red Triangle  JAVA SE EMBEDDED DOCUMENTATION

The Java Platform, Standard Edition (Java SE) is a complete platform for application development and deployment. Java SE Embedded is based on Java SE and provides specific features and support Embedded systems.


Java SE Platform Products Third Party License Readme Files

Refer to the Systems Requirements page for minimum platform requirements for all releases of Java SE Embedded. 

Submit a survey to help us learn more about your requirements or to request assistance with licensing or implementation.

Java SE Embedded Documentation Archive
 

Technical Articles

Getting Started with Java SE Embedded on the Raspberry Pi
 
  
Red Triangle  JAVA SE EMBEDDED SYSTEM REQUIREMENTS

Oracle Java SE Embedded supports the traditional Java SE desktop and server platforms. These supported platforms can be found at: Oracle JDK 7 and JRE 7 Certified System Configurations and Oracle Certified System Configurations - Java SE 6.

Additionally, Java SE Embedded supports platforms that are specifically targeted for embedded markets. These platforms are ARM, Power Architecture and x86. Custom builds for other platforms may be developed by our Engineering Services team - for more information please contact us. Summarized below are the Supported System Configurations for the currently available for Oracle Java SE Embedded releases.

 

Java SE Embedded 8 Headless on ARM EABI, Little-Endian, Linux

CPU ARM v5 ARM v6/v7

OS* Linux: kernel 2.6.28 or higher; glibc 2.9 or higher Linux: kernel 2.6.28 or higher; glibc 2.9 or higher

FP SoftFP1 VFP, SoftFP ABI2
VFP, HardFP ABI3

RAM 32MB or more for Java 32MB or more for Java

ROM/Flash/Disk for full JRE Compact1: 10.4MB
Compact2: 15MB
Compact3: 20MB
Full JRE: 48MB
Compact1: 10.4MB
Compact2: 15MB
Compact3: 20MB
Full JRE: 48MB

Java SE Embedded 8 Headful on ARM EABI, Little-Endian, Linux

CPU ARM v6/v7

OS* Linux: kernel 2.6.28 or higher; glibc 2.9 or higher

Swing/AWT No on ARMv6, No on ARMv7 SoftFP, Yes on ARMv7 HardFP

JavaFX Embedded No on ARMv6 SoftFP, Yes on ARMv6/7 HardFP (known to work), Yes on ARMv7 SoftFP (BeagleBoard)

FP VFP, SoftFP ABI2
VFP, HardFP ABI3

RAM Swing/AWT: 64MB
JavaFX Embedded: 32MB

ROM/Flash/Disk for full JRE Swing/AWT: 54.4MB
JavaFX Embedded: 20.4MB


Java SE Embedded 8 on Power Architecture, Big-Endian, Linux

CPU e600 core e500v2 core

OS* Linux: kernel 2.6.28 or higher; glibc 2.9 or higher Linux: kernel 2.6.23 or higher; glibc 2.5 or higher

FP Classic HW FP Embedded FP

Headful No No

RAM 32MB or more for Java 32MB or more for Java

ROM/Flash/Disk for full JRE Compact1: 11MB
Compact2: 15MB
Compact3: 21MB
Full JRE: 48MB
Compact1: 11MB
Compact2: 15MB
Compact3: 21MB
Full JRE: 48MB


  

Java SE Embedded 8 on x86 Linux

CPU x86

OS* Linux: kernel 2.6.28 or higher; glibc 2.9 or higher

Headful No

RAM 32MB or more for Java

ROM/Flash/Disk for full JRE Compact1: 11MB
Compact2: 15MB
Compact3: 21MB
Full JRE: 49MB


  

 
*  The minimum kernel and glibc versions stated above are based on testing on representative systems.  However, some embedded boards, particularly newer multi-core systems, may require more recent kernel, glibc versions than the minimums listed above.  Check with your platform sources, including system vendor, Linux vendor, general kernel, glibc, third-party libraries release/patch info, to ensure that are you are running the correct kernel, glibc and third-party libraries versions for your platform.
1   gcc options used include: -msoft-float
2   gcc options used include: -mfloat-abi=softfp -mfpu=vfp
3   gcc options used include: -mfloat-abi=hard -mfpu=vfp
4   ARM v7 only 


Red Triangle  JAVA SE EMBEDDED FAQ

 Answers to frequently asked questions regarding embedded use of Java SE are described below.

These are summarized on this page earlier. 

Q2. How is Java SE Embedded functionally different from standard Java SE?

Java SE Embedded is derived from Java SE. It supports the same platforms and functionality as Java SE. Additionally, it provides specific features and support for the embedded market. These embedded-specific features and support currently include new Compact Profiles, new jrecreate customization tool, new jdeps size analysis tool, additional platforms, small footprint JREs, headless configurations and memory optimizations. All Java SE Embedded offerings are Java SE compliant.

SE Functionality Specific for Embedded

Embedded systems can differ from traditional Java SE Desktop and Server configurations in a few key areas. These include RAM, permanent local storage (Disk, ROM or Compact Flash), KVM resources (Keyboard, Video, Mouse) and platform support (CPU and OS). For each of these areas, Java SE Embedded provides specific support for embedded devices:

Headless Support
Java SE Embedded provides a Headless option to support embedded devices that do not have a display monitor, keyboard or mouse. The functionality to receive keyboard and mouse input and render on a display is removed. The rest of Java SE functionality is still available including the underlying graphics support that enables printing and binary file generation.

Small Footprint JRE
Through additional compression and optional file removal and the new Compact Profile feature, Java SE Embedded can provide a reduced footprint JRE required by some embedded systems. The removed files include those not needed by headless as well as many others including tools and character converters. This reduction results in a JRE that is less than the footprint of the full JRE - as low as 11MB for Java SE 8 Compact1 on Linux/ARM. Existing Java SE Embedded products from Oracle, such as Oracle Event Processing (OEP) Embedded and Oracle Java Embedded Suite (JES) can run on the new Compact2 profile of Java SE Embedded 8.

JRE size is release and platform dependent, but here's an example using Java SE Embedded 8 for Linux ARM v7 VFP, Hard Float:

 
JRE ROM Footprint
Full JRE installed
48 MB
Small Footprint Compact1 JRE installed
10.4MB
Small Footprint Compact2 JRE installed
15MB
Small Footprint Compact3 JRE installed
20MB
 

The Small Footprint JREs are still TCK compliant.

Memory Optimizations
Java SE Embedded provides enhanced handling for embedded devices, through memory ergonomics and other modifications.

Other Memory Savings
Java SE Embedded provides a 12MB RAM savings by eliminating the use of MMAP when loading jar files and removing a static table for threads.

Additional Platform Support

Java SE Embedded supports the traditional Java SE desktop and server platforms. This includes:

CPU: ARMv5, ARMv6/7, PowerPC e500v2, PowerPC e600, x86
OS: Linux


It also supports platforms specific for embedded such as the ARM and Power Architecture microprocessors. Please contact us if you don't see the platform you need.

Q3. How does it differ from Java ME?

Java ME and Java SE Embedded address different segments of the embedded market. The Java ME CLDC and CDC offerings are designed for resource-limited devices including cell phones, handsets and media players. The APIs of CLDC and CDC are more limited than Java SE but enable these ME offerings to support devices with small footprints. Java SE Embedded provides the rich functionality of Java SE and is targeted at higher-end embedded devices - generally, those devices with at least 32MB RAM and 11MB - 20MB of ROM for a Linux/ARM platform.

Q4. What platforms does Java SE Embedded support?

Java SE is supported on close to 30 different ISA/OS platforms and can be used for embedded purposes besides desktop and server purposes.  The hardware (ISA) platforms include ARM, PowerPC and x86.  Linux is the supported OS platform. Java SE Embedded releases are special Java SE releases in that these have been customized (footprint-reduced, and more) specifically for embedded use and may be commercially deployed for such use only.  Typical hardware platforms on which Java SE Embedded is supported include ARM, Power Architecture and x86. Linux is the supported OS platform for each platform architecture. A headful version of Java SE Embedded is available on ARMv7/Linux.  A headless version is available on all supported Linux platforms.  For further details, please see the System Requirements for Java SE Embedded.

Q5. I don't see the platform I need supported, what can I do?

If your project has different hardware (cpu, memory) or OS requirements please contact us. There may be options, including other products and engineering services, we can offer to help you with a solution.

Q6. What are the RAM and ROM/Disk requirements for Java SE Embedded?

Memory footprint requirements are dependent on the platform (OS, swapping, etc), SE release, SE functionality (e.g. headless or not) and application. The RAM and ROM/Disk/Flash requirements are summarized earlier on this page. 

Q7. How does Java SE Embedded compare in performance with C/C++?

Though ultimately performance is application dependent, Java SE applications perform on par with C/C++ applications. Many third party tests have demonstrated Java to be equal or better than C/C++ performance. Java's dynamic just-in-time compilation and aggressive in-lining generates code that can be better optimized than static C/C++ compilation.

Q8. How do I call my native drivers and applications?

The Java SE specification provides an interface to native drivers and C or C++ functions called the Java Native Interface (JNI). JNI works by creating a Java-visible wrapper around the native code, a new header file to cross-reference the wrapper, and then a call from the Java program which allows parameters to be passed and received by the native code.

Q9. How do I debug my Java application for embedded use?

There is a full set of APIs and tools that enable you to debug your Java application. Both local and remote debugging is supported. There are also APIs, tools and resources for observability, management and performance profiling. A good starting point for all these activities is the Troubleshooting Java SE webpage.

Q10. How is Java SE Embedded licensed?

Java SE is free to use for development of embedded applications. We provide affordable licensing for deploying Java SE in an embedded device or as part of a embedded-based system. Please contact us when you are ready to deploy or if you have already deployed but not sure you have the correct license.

Q11. Does deploying Java SE Embedded devices or purposes require a royalty?

Yes. Oracle's license for Java SE enables it to be freely used for general purpose desktops or servers. If Java SE is bundled as part of a dedicated solution that involves or controls hardware of some kind, then it's likely an embedded application and is subject to modest royalty payments.

Q12. How do I determine how much royalty I'll owe on my embedded offering that includes Java SE Embedded?

Please contact us to set up an appointment with our specialized OEM sales team. They have the necessary information to determine the pricing for your product. Oracle's embedded royalty model seeks to match royalty costs to the price/volume of your product so that you can keep costs low and use Java SE Embedded on the wide range of SE-capable products.

Q13. Do I have to pay to develop my embedded application for Java SE Embedded?

No - developing with Java SE Embedded or non-embedded purposes is free, as are the NetBeans tools best suited for the job. You can and should sign a royalty agreement with Oracle during the development phase, but you do not owe any royalty payments until you actually ship your product.

Q14. How do I get started?

It's easy. There are 3 main steps:

  1. Download - Starting from the downloads page, choose the latest Java SE Embedded release from either embedded-only platforms or all (including Desktop and Server) Java SE platforms. Please contact us if you don't see what you need.
  2. Develop - Try Java SE Embedded on your platform. Develop your embedded application with it - development is free. If you're new to Java, there's a lot of help including our tutorials, blueprints, documentation and training as well as extensive resources from the Java community.
  3. Deploy - Ready to deploy? Contact us to find out about our licensing, support and partner programs.