Java: the language that almost ran your television
James Gosling named his programming language after the oak tree outside his office window at Sun Microsystems. Then a trademark search revealed that Oak Technology already had the name, and the team spent several meetings cycling through Silk, DNA, Lyric, and Pepper before landing on Java — the Indonesian island whose coffee fueled the long afternoons. That the world’s most-deployed programming language was named for caffeine is not, perhaps, the most surprising thing about its origins.
It started in June 1991, not with web browsers but with televisions. Gosling, Patrick Naughton, and Mike Sheridan launched what they called the Green Project inside Sun Microsystems. The brief: design a language for consumer electronics — smart TVs, set-top boxes, handheld devices — in an era when “digital convergence” was the phrase every technology executive muttered reverently. Interactive TV was the future. Sun wanted to be fluent in it.
The constraint that shaped everything: the language could not assume anything about the underlying hardware. A fragmented consumer electronics market meant dozens of incompatible processors, and no developer could afford to port the same code to each one. Gosling’s answer was the virtual machine. Instead of compiling to native machine instructions, Oak compiled to a neutral intermediate bytecode. A small JVM interpreter — portable to any chip — would handle the rest. The slogan came later: write once, run anywhere.
In September 1992, the team demonstrated Star7, a sleek touchscreen handheld they called *7, guided by a cartoon character named Duke. Impressed, Sun spun the team out into a subsidiary called FirstPerson, Inc. and sent them hunting for customers. They found one: Time-Warner was soliciting bids for an interactive cable TV set-top box system. FirstPerson bid. Silicon Graphics won. FirstPerson quietly folded.
Then 1993 arrived, and with it the web. The team built WebRunner, a browser capable of running Oak applets inside pages. When Sun’s executives saw it, the interactive-television chapter effectively closed. The internet had handed them something larger than any cable contract.
Oak became Java in 1994. On May 23, 1995, Sun announced the language at SunWorld in San Francisco. That same day, Netscape announced it would license Java for its browser. By the end of 1996, Sun counted a hundred licensees and roughly six thousand developers. The race was on.
What the JVM model changed was more fundamental than platform independence. It drew a clean line between the language and the machine: write to the virtual machine’s contract, and what runs beneath is someone else’s problem. That model — compile once to bytecode, execute anywhere on a runtime — became the architecture for C#, Kotlin, Scala, and Clojure, and eventually shaped how Python bytecode and JavaScript engines think about the problem. The premise that hardware details belong to the runtime, not the programmer, turned out to be a durable one.
Duke — the Star7 cartoon guide who once tried to sell Sun on interactive cable television — is still Java’s mascot. Which is to say: the pitch that lost to Silicon Graphics in 1993 is now running most of the world’s banking infrastructure.
Sources
- Java (programming language) — Wikipedia — Green Project origins June 1991, JVM design, write-once-run-anywhere promise, early web adoption.
- James Gosling — Computer History Museum — Gosling’s biography, PERQ emulator precursor to the JVM concept, Star7 demonstration September 1992, FirstPerson.
- The Java Story — St. Mary’s University CS Notes — FirstPerson, Time-Warner bid, WebRunner pivot, SunWorld May 23 1995 announcement, Netscape licensing deal.