This site may earn affiliate commissions from the links on this page. Terms of use.

You tin can't develop the globe's pinnacle mobile operating system without getting into a few legal tussles. Google has been embroiled in a complex lawsuit with Oracle over the Java programming linguistic communication since 2022. The case centers on whether or non Google infringed on Oracle'south copyright when it copied sections of the Java APIs in Android. Now, Google has confirmed that it will be doing away with all the standard Java APIs in the next version of Android. Instead, it will use just the open source OpenJDK.

The ongoing battle between Oracle and Google has been messy, to say the least. It all goes dorsum to the mode Java APIs (Application Programming Interfaces) are used in Android. If you want programs to communicate with each other, yous need an API, and Oracle thinks information technology should be able to copyright those. Computer scientists tend to disagree because APIs are essential for interoperability.

Android apps are mostly written in Coffee, then compiled by the operating system to native code and run. The role of the system that handles this used to exist known as Dalvik virtual machine, but has since been replaced past the more than efficient ART (Android Runtime). Most of the code in Google'south VM is original (Google says information technology's about 97%), but it still uses Oracle's Java APIs.

This has been a sticking point for the terminal few years. After a jury found in favor of Google, a appeals courtroom mostly reversed that judgement. A petition for the Supreme Court to hear the case was rejected earlier this twelvemonth, and the case at present sits at a lower court waiting to decide on Google's fair utilize argument. In the meantime, Google is making sure this isn't an outcome going forrard.

article2-arch

Because Android is open source (Java is mostly open as well), you can see all the code commits to the Android Open Source Project (AOSP). Some developers noticed a big alter pop upwards the other day that affects 8,902 files. Farther digging revealed that it was related to the Java APIs in Android. When asked about this, Google confirmed that it is moving abroad from the standard Java implementation and will instead use OpenJDK.

Google didn't mention the case confronting Oracle, but it seems articulate that's the reason for the modify. Google claims using the OpenJDK will create a common code base for developers. Information technology likewise has the do good of being completely open up source and not controlled by the overly litigious Oracle. Fifty-fifty if Google wins the fair use argument, that doesn't mean future fair utilise arguments would hold up. It's best to just move away from Oracle's platform.

Google says the switch to OpenJDK will take place in the N release of Android. That'south expected to happen at some bespeak in 2022. That doesn't alter anything nigh the electric current legal battle. If the court finds that Java APIs aren't covered by fair use, Google might cease up paying out a big pile of greenbacks to Oracle.