The problem has nothing to do with using the Java API. It has everything to do with copying the OracleJDK API and implementation then building a secondary non-compliant JVM to run it. The OracleJDK (which is different from the OpenJDK) is not licensed in a way that allows copying.
I recommend folks read https://law.stackexchange.com/questions/8213/is-it-legal-to-... for a little background.
In short Google fucked up big time.
Um, no. The case has solely to do with the copyright of the SSO of 37 Java API's that Google used. This has nothing to do with their VM.
>In short Google fucked up big time.
On the contrary, the CAFC fucked up big time for allowing API interfaces to be copyrighted.
"It has everything to do with copying the OracleJDK API and implementation"