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?
2 Answers
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.
Android can't run java applications. It runs "Android" applications written in Java that get complied down to the dalvik bytecode.