Java Began in June 1991 as the Green Project
Java did not start as a language for web servers. It started inside Sun Microsystems as an attempt to win the consumer electronics market. In June 1991, James Gosling, Mike Sheridan, and Patrick Naughton formed a small team that came to be called the Green Project, and their brief was to work out what the next wave of computing would look like. Sun's answer was that it would not be a bigger desktop computer. It would be a network of small devices: set top boxes, televisions, personal digital assistants, and remote controls, all talking to each other.
That context explains almost every unusual decision in the language. A set top box had slow hardware, little memory, and a chip from whichever manufacturer won the contract. Code written for one device had to run on another without being rebuilt for each architecture. Gosling's team needed something that could compile once and execute anywhere, with a runtime small enough to embed. The result was a language initially called Oak, named after a tree outside Gosling's office window, running on a virtual machine that interpreted a portable bytecode format.
By 1992 the team had hardware to demonstrate. The Star7 was a handheld controller with a small screen, animated graphics, and a touch interface, running a complete software stack written in Oak. The demonstration was good enough to attract attention inside Sun, but the business was not. Interactive television experiments with cable companies stalled, the consumer electronics partners were cautious, and the group briefly became a subsidiary called FirstPerson. Sun's consumer push never found the market it was hunting for, and by 1994 the team was looking for a different application for the technology.
The web gave it one. Applets allowed a browser to download bytecode and run it inside a sandbox, which was exactly the portable execution model the Green team had built for set top boxes. In 1995 the language was renamed Java, partly because Oak was already a trademark of Oak Technology, and partly because a name connected to coffee tested better than a tree. The first public release that most developers know, the Java Development Kit 1.0, arrived on January 23, 1996, with the promise of write once, run anywhere printed on every marketing slide.
What makes the Green Project interesting to a working developer is not the nostalgia, it is the inheritance. The virtual machine and the class file format were designed for constrained devices, which is why Java has a fixed set of primitive types, a verification step for downloaded code, and a standard library that abstracts the operating system rather than reflecting it. Those choices turned into a platform: because bytecode was portable, an entire ecosystem of compilers could target it, from Scala and Kotlin to Clojure and Groovy. Because the runtime handled memory, teams shipped larger systems with fewer crashes than they had managed in C and C++.
The same design decisions produce the complaints. Startup time, memory footprint, and the weight of the standard library are direct consequences of a runtime built to abstract hardware rather than exploit one machine. The language's early emphasis on checked exceptions, its verbose object model, and the ceremony around build tools all trace back to a 1991 bet on safety and portability over terseness. When a junior developer asks why Java feels bureaucratic, the answer is that it was designed for a device with no debugger, no shared libraries, and no guarantee about what CPU would run the code next.
The Green Project also set a pattern that outlived Sun itself: pick an ambitious platform bet, build for the awkward middle ground between hardware and software, and let the ecosystem decide what the product actually is. Sun expected set top boxes and got enterprise backends, Android apps, and a large share of the world's financial infrastructure. Oracle acquired Sun in 2010 and kept the platform moving, with a six month release cadence since Java 10 and long term support releases every two years. None of that was on the roadmap in June 1991, when a handful of people at Sun were trying to make a television respond to a remote control.