2 ms·
Java apps are pure Java for the most part, they basically contain no native code, unless for some very specific OS API call (in which case portability is a non-
by kaba0 6y ago
Java apps are pure Java for the most part, they basically contain no native code, unless for some very specific OS API call (in which case portability is a non-goal) — and the JVM will run any class file thrown at it.
Android is special because it has many many special APIs, so I don’t see your point. Just look at the (unfortunately not too numerous) desktop java apps. The exact same jar from n years ago will just run on all three main OSs.