Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this questionWill java applications run on the nexus? I would want to run a particular java application.
I assume you mean the Nexus One. It uses Android for operating system, for which applications are written in Java. But it uses a different virtual machine (Dalvik) to run them. It will need at least a recompilation, but probably the user interface will not be compatible.
In short:
Question: Is it possible to take any Java application and run it unchanged on Android (Nexus) ? Answer: No
Applications on the android operating system are written in Java and compiled to run on the dalvik virtual machine that runs on the android device. To run your specify program you will, at a minimum, need to recompile it.
精彩评论