Java in Embedded Programming

本秂侑毒 提交于 2019-12-05 13:43:44
Clifford

To run Java on any platform you will need a Java Virtual Machine (JVM). I would not hold out too much hope for PIC16 due to the memory resources required and perhaps the performance. If you want the highest performance and smallest footprint then C or C++ are a better (and most usual) solution for embedded systems.

I collated a list of JVMs for embedded systems here. You will be able to run Java on any target supported by one of those in theory. Some of the links may be out of date, and you may want to do a search to see if any new tools are available since the list was created.

Many but not all need some sort of kernel scheduler or RTOS to run, so you will need to consider that as well as the target processor.

What microcontroller are you using?

Did you find Javelin? It's possible to program certain microcontrollers with Java.

http://www.parallax.com/tabid/255/Default.aspx

Don't know anything else. Still, I would suggest you to try C. It's fun to try.

EDIT: http://www.barrgroup.com/Embedded-Systems/How-To/KVM-J2ME-Java-Virtual-Machine Bit old link, but maybe it's what you are looking for.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!