Given that Oracle doesn't seem shy about going after a giant like Google makes me wonder what other software Sun owned the rights to that might be even remotely popular. If I were a company using a lot of old Sun IP in even moderately unique ways, I'd be a little concerned right now.
But my point still stands: makers of replacement engines for MySQL could be in violation of MySQL-related patents, which Oracle could then sue over.
Other database vendors (Percona et al., not IBM) don't have assets for Oracle to take, don't directly threaten their core business, and going after them would get Oracle in trouble with regulators.
Better to land a tuna than chase sardines around.
It doesn't do memory management nearly as well as the JVM, and it handles dynamic dispatch and one-off closure hacks (local classes) slowly. It won't easily accept generated bytecodes. It has mysterious performance headaches (mostly memory management related I think).
I'd prefer that Oracle go to heck with these bogus patents for the health of the industry but Google should have just cooperated from the start.
In other words, your issues may be caused by mobile development, not by Android development.
Also Sun removed the classpath exception when they put JavaME under the GPL. That means if you used the GPL'ed version of Java on a mobile device then it becomes viral - including to any application code. (That's why most GPL'ed Java programs use the classpath exception).
From Sun's point of view, this was a good idea because it allowed them to protect JavaME licence revenue. Google saw JavaME as outdated, though, so instead of licencing it they took the Apache licensed Harmony project (ie, a clean room, Apache licensed version of the Java class libraries) and build Android around it.
Dalvik limitations are very justified, and even if phones improve over time, Dalvik also evolves.
Also when going head to head with Apple and Microsoft on such a far-reaching platform, having full control over your platform is valuable.
Essentially, Sun said "We will give away Java, Open Source, as we planned to do. Oh, not mobile, because Nokia uses it and it makes us lots of money. Of course, we all understand reimplementing Java ME would be far too much work for any one company to do. Feel free to license."
Google said "Eh, we'll just write our own JVM that runs on phones, thanks. That's how we roll over here."
Now there are lawsuits, because Sun tried hard to make sure you had to pay if you wanted Java on mobile devices.