I was thinking in using some tools to convert the JAR into an APK. But will my Nexus One have enough memory? And what about the controls?
I know nothing about Minecraft but I can't see how it would be possible without rewriting big chunks of it. Even if you can convert the JAR to an .apk, there are many Java classes that are not part of the Android API. Furthermore, Android does not include AWT, Swing or Java 2D/3D, it has its own UI and graphics APIs, so the user interface would need to be rewritten.
Android cannot just "run" native Java applications. Android does not have a Java Virtual Machine. Android uses a Dalvik Virtual Machine, which is completely different.
While android applications are written in Java, it is a "subset" of actual Java. so even if you could run the jar files through a "converter", there is no guarantee the code is actually supported by Dalvik.
You can run a JAR provided that is a midlet for mobile (j2ME)
There are some JVM available in the market. I used them a lot in the early days of my G1 for some "killer apps" (Opera Mini, QQ)
protected by Matthew Read May 22 '12 at 1:23
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?