# It Lost a Cable Box Deal, Then Google Picked It for Android: The Story of Java

> Java's first big bid was a cable box contract, and it lost. Years later Google chose it for Android. Here is what happened in between.

*2026-11-02T15:44:39Z*

Java lost a cable box deal, and then Google picked it for Android. How does a language go from losing a contract for a box under the TV to becoming the reason millions of programmers could write for a new phone platform? The deal was gone, but the idea was bigger than a cable box.

<!-- VIDEO_EMBED: parmgy-l03-java (9:16 short, add the player here after release) -->

## In 60 seconds (the video)

1. **Java lost a cable box deal**, and then Google picked it for Android. How does that happen?
2. **It started at Sun**, when James Gosling wrote a language for home devices. The idea: write a program once, and it runs on different machines.
3. **According to one member of the Sun team**, Time Warner's staff chose their bid unanimously, but one rival was still to present, and it took the deal by doing the work almost for free.
4. **So you got the job**, until they found a guy who doesn't want a salary!
5. **Throw the language away?** Wait, the web is full of different machines! The same idea found its home, and later Google used it for Android, because millions of programmers already knew it.
6. **The deal was gone**, but the idea was bigger than a cable box.

## Whose story this is

The main source here is [*The Long Strange Trip to Java*](https://www.blinkenlights.com/classiccmp/javaorigin.html) by Patrick Naughton, dated March 18, 1996. Naughton was on the team and was in the room with Time Warner. It is also one insider's account, written after he left Sun. So everything below about the vote and the near-free bid is the Sun team's account, and we mark it as such. We found no Time Warner source for it.

## 1991: a language for home devices

The project starts in Naughton's telling "in mid January 1991", when he, James Gosling and three colleagues went to Aspen to work out what they were building. The plan included a hardware prototype, and "the target market was 'consumer electronics'".

That detail matters, because the popular version gets it wrong. Java wasn't built for cable boxes. It was built for home devices in general, and the set-top bid came two years later.

By the end of the summer of 1992, "James' language, Oak, was running pretty well". The hardware prototype, Star7, fit in a box "about 6\" x 4\" x 4\"".

The idea behind the language is the one still attached to it. Sun's [1995 white paper](https://www.stroustrup.com/1995_Java_whitepaper.pdf) describes the need for applications that "can run on any hardware and software platform" (p. 12), and one of Sun's slogans was "write once, run anywhere".

## 1993: the Time Warner bid

In March 1993, Naughton was in Denver "at the introduction of the Time Warner Interactive Television trial". As he puts it: "We put together a set-top-box proposal."

This is where the language met the receiver: a bid for the box under the TV, running on Oak.

## The vote and the near-free bid (the Sun team's account)

Here is the scene in Naughton's words. In his last meeting with "the rank and file at Time Warner", he was told "they had taken a vote the day before and they unanimously picked FirstPerson's solution". FirstPerson was the Sun team. They added that "they only had one more presentation to get through".

Then: "It turns out that the next presentation was SGIs." According to Naughton, SGI "won the contract by basically doing the work for free".

Two limits on this. The vote was by staff, not by Time Warner as a company. And SGI was the competitor, so "for free" is the loser's description, which is why the video says "almost". SGI's [own release from December 14, 1994](https://archive.irixnet.org/siliconsurf/news/Time_Warner.html) confirms its part in the project, "Scientific-Atlanta's prototype FSN home communications terminal, or set-top device". It says nothing about the price.

So you got the job, until they found a guy who doesn't want a salary.

## No customer, then the web

The loss left the team with a hard sentence, about 1993: "we still don't have a business plan, nor any major customers". A deal with 3DO fell through as well.

The obvious move was to throw the language away. Instead the team looked at the web, which already existed and was full of different machines. Naughton calls the result "a new agenda for us, which was Oak and web focused". The white paper describes the same fit in its own words: "heterogeneous, network-wide distributed environments" (p. 12).

A language built to run on many kinds of device had found a place where that was the whole problem. Nobody redesigned the idea. It just finally had the right customer.

## From Oak to Java

The name changed because it had to. Frank Yellin told [JavaWorld](https://www.infoworld.com/article/2077265/so-why-did-they-decide-to-call-it-java.html): "The lawyers had told us that we couldn't use the name 'OAK'."

How the new name was picked depends on who you ask. Arthur van Hoff remembers "drinking a cup of Peet's Java". Polese says "I named Java". Yellin recalls that the same name drew both most-favourite and least-favourite votes. The year of the rename is disputed too, 1994 or 1995, so we don't state one. You may have heard the name Oak came from a tree outside Gosling's window. We found no primary source for that, so we leave it out.

The public launch date is firm: [May 23, 1995](https://www.computerhistory.org/tdih/may/23/), at SunWorld.

## Why Google picked it for Android

The clearest statement comes from a court. In [*Google LLC v. Oracle America*](https://www.supremecourt.gov/opinions/20pdf/18-956_d18f.pdf) (April 5, 2021), the US Supreme Court notes that "about six million programmers" had spent considerable time learning and using Java (opinion, p. 2). Then it gives the reason: "Because Google wanted millions of programmers, familiar with Java, to be able easily to work with its new Android platform, it also copied roughly 11,500 lines of code from the Java SE program" (p. 3). The Court held that this copying was a fair use.

That's the turn in one sentence. Google wasn't buying a technology so much as an audience.

Two things to keep straight:

- Android uses the Java language and part of its API, with Google's own implementation. It isn't Sun's Java platform.
- Since I/O 2019 Google has been ["committed to Kotlin-first Android development"](https://android-developers.googleblog.com/2022/08/celebrating-5-years-of-kotlin-on-android.html), "while still supporting users of the Java programming language".

## And JavaScript?

This story touches the [previous episode](https://fadymondy.com/en/blog/javascript-history-why-it-won). Netscape's "initial name, 'LiveScript,' had been replaced by 'JavaScript' as part of its strategic partnership with Sun" (*JavaScript: The First 20 Years*, p. 38). They are separate languages. The name came from here.

## Where does it stand now?

It depends on what you measure:

| Source | What it says about Java |
|---|---|
| [TIOBE Index, October 2026](https://www.tiobe.com/tiobe-index/) | #4, rating 8.41% (also #4 in October 2025) |
| [Stack Overflow Developer Survey 2026](https://survey.stackoverflow.co/2026/technology) | #7, 27.6% of all respondents |

The two rankings measure different things, so don't quote one without its source and month.

## Learn it if

- You want to write one program for different machines. That has been the point of the language since the start.
- You want to come into Android through the front door. That means knowing what it was built on, not that new apps should be written in Java, since Android is Kotlin-first.

## FAQ

### Was Java built for cable boxes?
No. The first target was consumer electronics. The set-top bid came in 1993, after the language already existed.

### Did Time Warner really vote for Sun's team?
That is the account of Patrick Naughton, who was on the team. We found no Time Warner source for the vote. SGI's own release confirms its role in the project, not the price.

### Is Android built on Java?
Android uses the Java language and part of its API, with Google's own implementation. It is not Sun's Java platform, and since 2019 Android development has been Kotlin-first.

### Are Java and JavaScript the same language?
No. They are separate languages. JavaScript took its name from a partnership with Sun.

## Sources

- [Patrick Naughton, *The Long Strange Trip to Java*, March 18, 1996](https://www.blinkenlights.com/classiccmp/javaorigin.html): the project's start, Oak, the Time Warner bid, the vote, the SGI bid, the turn to the web. One insider's account.
- [James Gosling and Henry McGilton, *The Java Language Environment*, October 1995](https://www.stroustrup.com/1995_Java_whitepaper.pdf): p. 12.
- [SGI press release, December 14, 1994](https://archive.irixnet.org/siliconsurf/news/Time_Warner.html): SGI's part in the Time Warner project.
- [*Google LLC v. Oracle America*, No. 18-956, US Supreme Court, April 5, 2021](https://www.supremecourt.gov/opinions/20pdf/18-956_d18f.pdf): six million programmers, 11,500 lines, fair use, "write once, run anywhere".
- [Kieron Murphy, 1996 JavaWorld interview, InfoWorld reprint](https://www.infoworld.com/article/2077265/so-why-did-they-decide-to-call-it-java.html): the name.
- [Computer History Museum, May 23](https://www.computerhistory.org/tdih/may/23/): the public launch. The page's heading says 1994; its text says SunWorld '95.
- [Android Developers Blog, August 17, 2022](https://android-developers.googleblog.com/2022/08/celebrating-5-years-of-kotlin-on-android.html): Kotlin-first since I/O 2019.
- [TIOBE Index, October 2026](https://www.tiobe.com/tiobe-index/): #4, 8.41%.
- [Stack Overflow Developer Survey 2026](https://survey.stackoverflow.co/2026/technology): #7, 27.6%.
- James Gosling portrait in the video: Peter Campbell, [CC BY-SA 4.0](https://commons.wikimedia.org/wiki/File:James_Gosling_2008.jpg).

## Next steps

- [Written in 10 Days, on Nearly Every Website: Why JavaScript Won](https://fadymondy.com/en/blog/javascript-history-why-it-won)
- [582,000 AI Projects, One Slow Language: Why Python Won](https://fadymondy.com/en/blog/why-slow-python-won-ai)
- [Top Programming Languages in 2026: Rankings and How to Choose](https://fadymondy.com/en/blog/top-programming-languages)

---

Source: https://fadymondy.com/en/blog/java-history-cable-box-deal-android
