World Library  
Flag as Inappropriate
Email this Article

Oak (programming language)

Oak was a programming language created by James Gosling in 1991, initially for Sun Microsystems' set-top box project. The language later evolved to become Java.

The name Oak was used by Gosling after an oak tree that stood outside his office.


  • History 1
  • Differences with Java 2
  • See also 3
  • References 4
  • External links 5


In 1991, Sun Microsystems was attempting to develop a new technology for programming next generation smart appliances, which Sun expected to be a major new opportunity.

The team originally considered using C++, but rejected the idea for several reasons (see Java history).

Initially, Gosling attempted to modify and extend C++ but soon abandoned that in favor of creating a new platform called Green and an entirely new language, which he called Oak, after the tree that stood just outside his office.[1]

By the summer of 1992, they were able to demonstrate portions of the new platform including the Green OS, the Oak language, the libraries, and the hardware. Their first attempt, demonstrated on September 3, 1992, focused on building a PDA device named Star7 which had a graphical interface and a smart agent called "Duke" to assist the user.

Oak was renamed Java in 1994 after a trademark search revealed that Oak was used by Oak Technology.[2] Java 1.0 was finally shipped in 1996.[3]

Differences with Java

Oak was the basis for what Java 1.0 became later, but there were also some differences:[4][5] Several concepts were planned in the Oak specification but remained not implemented in the original language because of time constraints:

Other concepts were different from, or improved later, for Java:[4]

  • abstract methods were defined as in C++.
  • While the Oak default access level was the same as Java's (default) package private access level, it was called "private". Oak did not have an equivalent to Java's private access modifier.

And finally some concepts were later scraped out:

See also


  1. ^
  2. ^
  3. ^
  4. ^ a b c
  5. ^
  6. ^
  7. ^
  8. ^
  9. ^

External links

  • Oak language specification
  • Java early history
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.