Java for embedded systems?

I recently learned basic Java and wondered if I could use these new skills for an inline computing project. I look around, but it seems I can not find microcontrollers that can run Java. Is there such a thing?

+4
source share
4 answers

Due to the architecture of the Java virtual machine, you will need significant resources to run the JVM. The path of least resistance to getting the JVM is probably to run the OS on a target station that already supports it, such as Linux, but by itself requires relatively large resources.

There are several stand-alone JVMs that either run smoothly or integrate with built-in RTOS to support streaming. I put together a list some time ago in response to a similar question , but some of the links are now out of date.

Running Java on an embedded system will certainly affect performance and is probably not suitable for hard real-time applications without special care.

+5
source

Microcontrollers are designed for the real low level - they usually do not have much functionality and will not have sufficient memory / processor speed to run JAVA.

Most entry-level microcontrollers use C / C ++, and possibly even their own version.


Arduino/Atmega Haiku VM java. haiku, JAVA C - Arduino. , - , , , JAVA, . , , , .

PIC - Muvium , . , PIC JAVA.

Renesas - , SDK, MicroEJ java RX RZ- . , -, .


( , /, + ) JAVA . Beagle bone Pi. ARM Ubuntu + Java/Python/ .

Pi ( ) - .

+3

. , "-", JAVA (Raspberry PI, BeagleBone, Intel Edison .., , JRE).

C/++ .

+3

CM12001/1000000, Java. . . , .

: , , . Python , MicroPython, Python 3 .

: ATOP Telit ​​. , Flash ( ). Linux, JVM ( ). Telit Java API , GPIO ( ), , , GPS, GSM ..

0

Source: https://habr.com/ru/post/1599448/


All Articles