The US Supreme Court ruled for Google in a landmark copyright case with enormous implications for the internet era

Washington (AFP) - The US Supreme Court on Monday handed Google a major win in a long-running copyright battle with Oracle, ruling that the use of the Java programming language for the Android mobile operating system was “fair use.”

The 6-2 ruling had been closely watched as a key test of copyright in the digital era, and allows Google to avoid paying out billions to its technology rival.

Justice Stephen Breyer wrote in the court opinion that even if Google used copyrightable material, “the copying here at issue nonetheless constituted a fair use. Hence, Google’s copying did not violate the copyright law.”

The case revolved around whether copyright protection should be extended to application software interfaces (APIs), the bits of code that allow programs and apps to work together, and if so, whether Google’s implementation was a “fair use” of copyrighted material.

The case drew interest across the spectrum of technology firms and creative industries, and heated debate on how much copyright protection should be afforded to bits of computer code.

Two separate jury trials ended with a determination that Google’s “software interface” did not unfairly use Java code, saving the internet giant from a possible multibillion-dollar verdict.

But an appeals court in 2018 disagreed, saying the software interface is entitled to copyright protection, prompting Google to take the case to the highest US court.

Oracle, which in 2010 obtained the rights to Java when it acquired Sun Microsystems – which had supported Google’s use of Java for Android – sought $9 billion in damages in its original complaint.

Google and many Silicon Valley allies have argued that extending copyright protection to APIs would threaten innovation in the fast-evolving digital world.

According to Google, a win for Oracle would “upend the longstanding expectation of software developers that they are free to use existing computer software interfaces to build new programs.”

Others said Google would walk away with “intellectual property theft” in a court victory, arguing that it would make it hard to protect any digital property from Chinese misappropriation.