What is the difference between DVM and JVM? Why Android opted for DVM?
DVM is faster than JVM, and DVM is under free license.
Oracle did not allow Google to use JVM. So Google started using DVM for its android.
JVM was not free that's why android opted for DVM
JVM is not meant for java programs. Android uses java internally it can't use JVM in it. So Android opted for DVM.
Android team preferred DVM over JVM because of below given reasons.
1. Though JVM is free it was under GPU license, which is not good for Android as most of the Android is under Apache license.
2. JVM was designed by keep desktops in mind. So it is too heavy for embedded devices.
3. DVM takes less memory, runs & loads faster compared to JVM.
4. Since mobile devices have lot of limitations like low CPU speed and less Memory, it is always better not to use heavy components like JVM.
Back To Top