3 ms·
> Java programs normally sit on a server Or an Android smartphone or media streamer (Android TV). However, those programs won't run anywhere; they need Androi
by kazinator 6y ago
> Java programs normally sit on a server
Or an Android smartphone or media streamer (Android TV).
However, those programs won't run anywhere; they need Android.
Java has turned into C. Java programs need a platform-specific set of libraries just like C needs POSIX, or Win32, or VXWorks or ThreadX or whatever.
This is pretty much inescapable.
- kaba0 6y agoJava 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.