Can I run Java on low end microcontrollers?

5 replies [Last post]
williamsjond's picture
Joined: 2011-05-26

Can I run Java on low end microcontrollers?

Bill Wong's picture
Joined: 2012-10-14

Yes. There are number of Java virtual machines designed to run on limited resource platforms like microcontrollers. These tend to be 32-bit platforms with at least 32 Kbytes of flash but it is possible to run on even lower end hardware. For example, Parallax has the Javelin that runs a limited version of Java and it was implemented on an 8-bit platform.

gpburdell's picture
Joined: 2013-01-14

Do you have any specific commercial examples other than the Parallax Javelin Stamp?

Bill Wong's picture
Joined: 2012-10-14

Here are some articles that might help. I have had a chance to use Java on a number of small resource systems and it works rather nicely.

Hands On Real Time Java - Atego PERC

Java Meets The Cortex-M3 With New Development Kit

Java Tool Slims Down Embedded Runtime

Java 2 Micro Edition Partitions Embedded Java

Atego Q & A On Real Time Java

erichpwagner's picture
Joined: 2013-01-17

A lot of bank "smartcards" run a subset of Java called Javacard. Most are 8 bit processors with extremely limited RAM (but a larger ROM or flash to hold the VM code or runtime interpreter) - I think Javacard omits many heavier features like multi-threading, floating point data, multi-dimensional arrays etc etc. It is strong on security features, as one might expect. Javacard manuals / ref books should exist and help.

choudankar's picture
Joined: 2012-11-06

java is also available on Microcontroller but then question need to be asked is how much external memory I need. I was recently talking to Oracle on Java in Freescale seminar. Java is fast but they can not guarantee real time performance. In such cases a developer need to partition his memory for real time tasks and JAVA.

Please or Register to post comments.


Metal Core PCB Fabrication

How Metal Core PCB Fabrication can boost the quality of your Site?  ...More

Significance Of Pcb Circuits Boards 1

Printed circuit boards (PCBs) is designed by the manufacturer to meet the mechanical and electrical applications of the client. The manufacturing of PCB Circuits requires accreditation and certification to ensure the effectiveness of the product to clients.

Opamp output signal triggering microcontroller

Hello How could I connect an opamp in such a way that the output of an opamp can trigger the microcontroller ...More

Please indicate your level of interest in the following POWER topics.

Connect With Us

Sponsored Introduction Continue on to (or wait seconds) ×