Can you run 'normal' Java programs on Android? I know some 'normal' Java (computer Java), and I want to run such a program on my Android device. Is this possible? If yes, how?
Generally this is not possible as although Android-flavored java has the same syntax and semantics as typical java, it does not run on the same virtual machine (Google has its own VM that android phones all ship with and which has a different byte code format than conventional java VMs) nor does it use or have access to Oracle's java standard library. Google reimplemented most of the important elements (e.g. Google has its own implementation of HashMap, ArrayList, etc.) and ditched a lot of other stuff (e.g. there's no swing package in Google's library).