James Gosling

term

programming

Kept in this browser · My desk

The Canadian engineer who did the original design of Java at Sun Microsystems, from the Green Project of June 1991 to Sun's public announcement on 23 May 1995, and wrote its first compiler and virtual machine.

Gosling's central idea was older than Java. At Carnegie Mellon he had ported the p-code of UCSD Pascal from a PERQ workstation to a VAX by writing an emulator, and the Computer History Museum records that he later cited that work as the inspiration for a Java virtual machine: write code once for an imaginary machine and run it on every real one. The language began as a way to program consumer devices and turned to the World Wide Web in 1995, where the HotJava browser was, in the white paper's words, its first major application.

Who he is. James Gosling is the Canadian engineer who did the original design of the Java programming language at Sun Microsystems and wrote its first compiler and virtual machine; earlier he wrote the first Emacs in C for Unix and the NeWS window system.

Training and Carnegie Mellon. The Computer History Museum (CHM), which made him a Fellow in 2019, records that Gosling was born in 1956 near Calgary, Alberta, took a BSc in computer science at the University of Calgary in 1977 and a PhD at Carnegie Mellon University in 1983; his own biography gives the thesis title as The Algebraic Manipulation of Constraints. At Carnegie Mellon he wrote a version of Unix for multiprocessors and an Emacs for Unix systems, and ported UCSD Pascal p-code from a PERQ workstation to a DEC VAX by writing a PERQ emulator, the work he later named as the inspiration for the Java virtual machine.

Gosling Emacs. Richard Stallman's account of the history of GNU Emacs places Gosling's editor precisely: it was the first Emacs written in C and running on Unix, known as GosMacs. Its extension language was what Stallman calls mocklisp, which looked like Lisp but lacked Lisp's data structures, so programs were not data; Gosling had written in its manual that he named the program Emacs hoping others would improve it until it deserved the name, and later, in Stallman's account, sold it to a company. Stallman replaced the mocklisp with a real Lisp interpreter when he wrote GNU Emacs.

Sun and NeWS. Andy Bechtolsheim recruited him to Sun Microsystems in 1984, where he was lead engineer of the windowing system first called SunDew and later NeWS, the Network-extensible Window System, which lost out to the X Window System.

The Green Project and Java. In June 1991, the CHM says, Gosling, Mike Sheridan and Patrick Naughton started the Green Project, aimed first at a new language beyond C++ and then at controlling consumer devices; its language, Oak, was first demonstrated on 2 September 1992 on a handheld controller called Star-7. The white paper he wrote with Henry McGilton in May 1996 describes the origin the same way: a research project for network devices and embedded systems, in which the difficulties with C++ grew until a new language was the better answer, drawing on Eiffel, Smalltalk, Objective C and Cedar/Mesa. Renamed Java, it was announced publicly by Sun on 23 May 1995, the day Netscape announced its intent to license it for its browser, according to the history of JavaScript by Allen Wirfs-Brock and Brendan Eich.

How it works. The same white paper explains the design: the compiler produces bytecodes, an architecture-neutral intermediate format designed to carry code efficiently to many hardware and software platforms, and the Java virtual machine runs them on each, which in the paper's words solves both the binary distribution problem and the version problem. It is the PERQ emulator's idea at industrial scale: compile once for an imaginary machine and implement that machine everywhere.

The specification. His own biography says he did the original design of the Java programming language and implemented its original compiler and virtual machine. Thirty years on, The Java Language Specification for Java SE (Standard Edition) 25, dated 29 July 2025, still lists him first among its authors, with Bill Joy, Guy Steele, Gilad Bracha, Alex Buckley, Daniel Smith and Gavin Bierman.

After Sun. After Oracle's acquisition of Sun in 2010 he worked briefly for Oracle, then for Google and Liquid Robotics, became a Distinguished Engineer at Amazon Web Services (AWS) in May 2017 and left in July 2024. He is an Officer of the Order of Canada; the Institute of Electrical and Electronics Engineers (IEEE) gave him its John von Neumann Medal in 2015, when he was chief software architect of Liquid Robotics, for the Java programming language, the Java Virtual Machine and other contributions to programming languages and environments.

What gets misread. Java and JavaScript are different languages: the JavaScript history by Wirfs-Brock and Eich records that Netscape's first name for its scripting language, LiveScript, was replaced by JavaScript as part of its partnership with Sun, which registered the trademark, now owned by Oracle; the glossary's Brendan Eich entry tells that story. And Java was not designed for the web: by his own white paper it was a language for consumer devices that found the web in 1995.

Neighbours. Java, bytecode, just-in-time compilation, Emacs, C++, Bill Joy and Brendan Eich.

Also known as: gosling, java creator

Sources

← Back to J Back to the glossary