您建议使用哪种 Java 嵌入式 VM 进行 ARM 开发?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/638087/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What Java embedded VM do you suggest for ARM development?
提问by michelemarcon
There are a lot of Java embedded VMs. What do you suggest for ARM development?
有很多 Java 嵌入式 VM。你对ARM开发有什么建议?
- http://www.cacaovm.org/
- http://www.rtjcom.com/main.php?p=home
- http://www.k-embedded-java.com/
- http://jamvm.sourceforge.net/
- http://www.cacaovm.org/
- http://www.rtjcom.com/main.php?p=home
- http://www.k-embedded-java.com/
- http://jamvm.sourceforge.net/
I'm currently using the TINIplatform from Dallas and works great (512 KB RAM and 1 MB flash), but now I need more power (memory and CPU).
我目前正在使用来自达拉斯的TINI平台并且运行良好(512 KB RAM 和 1 MB 闪存),但现在我需要更多功率(内存和 CPU)。
采纳答案by michelemarcon
My final choice is JamVM + GNU Classpath. Works great! :)
我的最终选择是 JamVM + GNU Classpath。效果很好!:)
回答by michael aubert
4 different VMs have been ported to Symbian OS, which runs on ARM cpus.
4 个不同的 VM 已移植到 Symbian OS,它在 ARM cpu 上运行。
Sun's KVM, Sun's hotspot (or cldc-hi) VM, Sun's CDC VM and IBM J9 VM.
Sun 的 KVM、Sun 的热点(或 cldc-hi)VM、Sun 的 CDC VM 和 IBM J9 VM。
I suspect there are several more.
我怀疑还有几个。
a good place to start your research would be the list of JavaME licensees:
开始研究的好地方是 JavaME 许可证持有者列表:
回答by Johan
I have done some work the Dallas tini in the past so I think I know what you are looking for...? (maybe anyway :)
我过去在达拉斯 tini 做过一些工作,所以我想我知道你在找什么......?(也许无论如何:)
If you look at projects like Buildroot, you will find that jamvmis now included, I plan to try it out on a Atmel NGW100(it is based on a AVR32 but it is similar to a ARM9). But there is a lot of other ARM9 projects that does nearly the same.
如果您查看Buildroot 之类的项目,您会发现现在包含了jamvm,我计划在Atmel NGW100(它基于 AVR32 但它类似于 ARM9)上试用它。但是还有很多其他 ARM9 项目的功能几乎相同。
This idea is the same as with Android, first you let Linux take care of the lower layers and then you add a java vm on top and there you run your applications.
这个想法与Android相同,首先让Linux处理底层,然后在顶部添加一个java vm,然后在那里运行您的应用程序。
On the downside is that the Dallas tini was a more or less "ready" platform, you did not have do much magic to get it running. But this path will unfortunate require some work to get up to full speed. But on the good side you have a promise of a 200MHz 32bit CPU with 32Mb RAM and storage on a SD card that can easily store a couple of Giga Bytes :)
不利的一面是,Dallas tini 或多或少是一个“准备好”的平台,你没有太多的魔法来让它运行。但不幸的是,这条路径需要一些工作才能达到全速。但从好的方面来说,你有一个 200MHz 32 位 CPU 的承诺,具有 32Mb RAM 和存储在 SD 卡上,可以轻松存储几个千兆字节:)
Good luck.
祝你好运。
回答by Ivan Tarasov
There's also Java SE Embeddedwhich supports ARMv5,v6,v7, be aware though that this is a full-blown Hotspot with C1 compiler.
还有支持 ARMv5、v6、v7的Java SE Embedded,但请注意,这是一个带有 C1 编译器的成熟热点。
回答by Rafal Rusin
You may also look at debian openjdk support, like
您还可以查看 debian openjdk 支持,例如
But I think it requires more RAM than 512kB
但我认为它需要比 512kB 更多的 RAM
回答by Bob g
My choice goes to IS2T JVM, which is specially optimized for ARM Cortex M and Cortex A, with optimized libraries as well (like HMI with widgets etc...)
我的选择是 IS2T JVM,它专门针对 ARM Cortex M 和 Cortex A 进行了优化,并具有优化的库(如带有小部件的 HMI 等...)

