Why can’t you run the standard Java bytecode on Android?

Why can’t you run the standard Java bytecode on Android?
Answer
We cannot run Java Bytecode on Android because:
Android uses Dalvik VM(virtual machine) instead of Java VM. To run a Java Bytecode you need JVM( Java Virtual Machine). Java in computers and Android uses a separate environment to run their code.
 

Tìm kiếm

Back
Top