cancel
Showing results for 
Search instead for 
Did you mean: 

Java on an MCU

Skygge
Associate

seems like the chances of a JVM on an MCU is a nightmare?

research show java is supposed to be cross platform, however it makes sense to be able to embed the virtual machine without difficulty first.

I can’t even find a successful case online except by an almost huge mini company

skygge

3 REPLIES 3
TDK
Guru

Java has a significant overhead requirement. Not something you can easily put into a microprocessor with limited RAM and FLASH available. If you can't find anything, there's probably a reason.

If you feel a post has answered your question, please click "Accept as Solution".
RMcCa
Senior II

Can't imagine writing microcontroller code without pointers. ​Java exists, at least in part, because it is intended to be machine independent, hardly a typical microcontroller application. HAL was an attempt at creating a machine independent layer, but most of the code is crap and it turns out to be easier and quicker to write your own.