---
title: "Why cannot you run standard Java bytecode on Android?"  
description: "Why cannot you run standard Java bytecode on Android?"  
author: "Anonymous User"  
published: 2015-05-21  
updated: 2020-09-24  
canonical: https://www.mindstick.com/interview/2560/why-cannot-you-run-standard-java-bytecode-on-android  
category: "android"  
tags: ["android", "java"]  
reading_time: 1 minute  

---

# Why cannot you run standard Java bytecode on Android?

Android uses Dalvik Virtual Machine (DVM) which requires a special bytecode. We need to convert Java class files into Dalvik Executable files using an Android tool called "dx". In normal circumstances, developers will not be using this tool directly and build tools will care for the generation of DVM compatible files.

## Answers

### Answer by Anonymous User

Android uses Dalvik Virtual Machine (DVM) which requires a special bytecode. We need to convert Java class files into Dalvik Executable files using an Android tool called "dx". In normal circumstances, developers will not be using this tool directly and build tools will care for the generation of DVM compatible files.


---

Original Source: https://www.mindstick.com/interview/2560/why-cannot-you-run-standard-java-bytecode-on-android

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
