Running Java bytecode on the Android - Sun JVM on top of DalvikVM

后端 未结 7 1789
慢半拍i
慢半拍i 2021-02-02 13:17

Since both the java implementation (OpenJDK) and Android\'s virtual machine DalvikVM are opensource it must be possible to implement Sun\'s JavaVM on top Google\'s

7条回答
  •  春和景丽
    2021-02-02 14:03

    See http://davy.preuveneers.be/phoneme/ for MIDP, Foundation and Personal Profile jvms for Android ARM apks. (Thank you Davy!!!)

    I have repackaged the Foundation jvm for command line use and host it at vkfox.com/android/bin/foundation-jvm.bin for your pleasure. One could use the eclipse compiler in the JavaIDEdroid free app, or the old kopi or kopisusu compilers with this jvm, togeather with the stubbed cdc + foundation jar file from a J2ME jdk for an onboard development system. Using the features of TerminalIDE -- console and sun compiler -- with indicated ref jars would also get you there. This is essentially equivalent to a headless jdk1.4 with the possibility of MIDP or awt graphics.

提交回复
热议问题