Here's what the $9 billion fight between Google and Oracle is all about

Eric Schmidt
Eric Schmidt

(REUTERS/Beck Diefenbach)
Alphabet Executive Chairman Eric Schmidt

Since 2010, Google and Oracle have been locked in a pitched legal battle — this week, Oracle is seeking almost $9 billion in damages in a second trial.

At the heart of Oracle's lawsuit is the allegation that Google improperly used pieces of the mega-important Java technology in Android without paying properly for the privilege.

Google argues that the way it used Java constitutes "fair use," and that it's impossible to copyright the pieces of Java which it put into Android.

The outcome of this trial will send shockwaves through the tech industry: If Oracle wins, it's going to make it a lot more complicated, legally speaking, to build software that works with other software.

But what, exactly, is Java? Why did Google use it in the first place? And why is Oracle so mad?

Here are some answers.

A brief history of Java

Depending on who you ask, Java is either the most popular or second-most-popular programming language in the world.

Huge chunks of Amazon, Google, Netflix, PayPal, and lots of others all power their web applications and software with Java, right alongside other popular languages like C++.

Java gots its start at early Silicon Valley superpower Sun Microsystems in 1991, in a group led by famed programmer James Gosling. Gosling and his team based it on its forebear, the still-very-popular C++ language, but with an eye towards the future.

See, Java is known to be pretty slow, compared to lots of other languages. But it's stable, and reliable, and best of all, it works on any kind of PC there is, from Windows to Mac to Linux.

James Gosling
James Gosling

(Wikimedia Commons)
James Gosling, inventor of the Java programming language.

Hardcore hipster programmers kind of look down their nose at Java as stolid and old-fashioned, especially in the era of the smartphone and the web application, but it has lots of attributes that big, well-paying enterprises love.

"Java. Not exciting, hardly wearable, but very predictable. A language for building great big things for great big places with great big teams," wrote Paul Ford in the seminal Bloomberg Businessweek essay "What Is Code" in 2015. "People complain, but it works."

And because it works so reliably and so well, there's always a market for programmers who know Java. And, in turn, it means there are lots of programmers with Java expertise.

In 2009, Oracle bought Sun Microsystems. Soon after, Google's legal troubles began.

The rise of Android

In 2005, Google bought a startup called Android for around $50 million, bringing its team on board to help build a new mobile operating system.