Gosling initially became known as the author of Gosling Emacs , and also invented the windowing system NeWS , which lost out to X Window because Sun did not give it an open source license. He is generally credited with having invented the Java programming language in 1994.    He created the original design of Java and implemented the language's original compiler and virtual machine .  Gosling traces the origins of the approach to his early graduate-student days, when he created a p-code virtual machine for the lab's DEC VAX computer, so that his professor could run programs written in UCSD Pascal . In the work leading to Java at Sun, he saw that architecture-neutral execution for widely distributed programs could be achieved by implementing a similar philosophy: always program for the same virtual machine.