3

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

2 Answers 2

6

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)

5

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.