简体   繁体   中英

How does android run java applications if it doesnt have a JVM

How does android run java programs if it doesnt have a JVM, i know theres a delvik vm but what does it do ? and how does it run java applications?

Programs are commonly written in a dialect of Java and compiled to bytecode. Then they are converted from Java Virtual Machine-compatible .class files to Dalvik-compatible .dex (Dalvik Executable) files before installation on a device.

Dalvik (software)

Android can't run java applications. It runs "Android" applications written in Java that get complied down to the dalvik bytecode.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM