Google did indeed managed to pull a Microsoft and now we have a forked Java implementation getting steady behind the standard Java implementations.
Even J2ME is more compatible with its big brother than Android.
KitKat has now partial support for Java 7, with libraries still missing some pieces. Dalvik and ART still don't support invokedynamic bytecode.
And since almost no one has KitKat, one cannot use try-with-resources anyway.
Late edit: perhaps Oracle should make a phone ;)
Try Intellij IDEA / Android Studio. I find them quite reliable.
Android Studio seems to still have performance issues with Gradle on Windows, specially when indexing stuff.
They did an open spec tablet with a raspberry pi tough.
Eclipse
/shudder
I read somewhere that some in the Android team are C converts doing their first Java gig.
Have you seen how broken are the generated Renderscript bindings? They don't have anything to do with Java conventions and feel completely out of place.
From my experience once you get past the initial hump of learning their basic APIs and conventions its a very easy to work with platform. Maybe I am biased because I spend a lot of time with it. I also really like the tooling. How is it acting unstable for you?
Are you serious?
J2ME is even more crippled than Android's Java (no reflection, no Swing, no AWT and stuck in Java 1.4).
J2ME has been dead for more than half a decade and we have Android to thank for that. Good riddance.
http://www.oracle.com/technetwork/java/embedded/overview/jav...
Also missing:
Reflection
Serialization
Lambda expressions (JSR 335)
JNI and application native code
User-defined class loaders
Full annotations support (Runtime annotations)
Thread groups and demon threads
Full Math APIs (with BigDecimals)
Concurrency utilities
Full security APIs
Full collection APIs (Sorted collection classes)
Source: http://docs.oracle.com/javame/config/cldc/opt-pkgs/api/cldc/...If you think that's wrong, fine but that lawsuit had nothing to do with bytecode.
Lots of embedded devices make use of J2ME, e.g. cars, manufacturing, electricity monitoring...