Oak (programming language)

Oak is a discontinued programming language created by James Gosling in 1989, initially for Sun Microsystems' set-top box project.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 4 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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

History

edit edit source

In 1985, 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 oak 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[1] 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

edit edit source

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 were 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

edit edit source

References

edit edit source
  1. ^ Jon Byous (March 12, 2003). "Java Technology: An early history" (PDF). Sun Microsystems. Retrieved August 2, 2009. Gosling called the new language "Oak", after the tree outside his window Wikipedia revision 1305079468, retrieved 2026-11-18
  2. ^ Murphy, Kieron (4 October 1996). "So why did they decide to call it Java?". JavaWorld. Retrieved 2020-07-15. 'The lawyers had told us that we couldn't use the name "OAK" because [it was already trademarked by] Oak Technologies,' said Frank Yellin, a senior engineer at Sun. 'So a brainstorming session was held to come up with ideas for a new name.' Wikipedia revision 1305079468, retrieved 2026-11-18
  3. ^ Jonathan I. Schwartz (August 30, 2007). "Different Isn't Always Better, But Better's Always". Archived from the original on September 5, 2009. Retrieved August 2, 2009. Wikipedia revision 1305079468, retrieved 2026-11-18
  4. ^ a b c Heinz Kabutz (August 26, 2002). "Once Upon an Oak ..." javaspecialists.eu. Retrieved August 2, 2009. Wikipedia revision 1305079468, retrieved 2026-11-18
  5. ^ "Oak Language Specification". Sun Microsystems, Inc. Archived from the original on August 16, 2000. Retrieved March 6, 2015. Wikipedia revision 1305079468, retrieved 2026-11-18
  6. ^ "Java and unsigned int, unsigned short, unsigned byte, unsigned long, etc. (Or rather, the lack thereof)". Retrieved August 2, 2009. Wikipedia revision 1305079468, retrieved 2026-11-18
  7. ^ "A Simple Assertion Facility For the Java Programming Language". Sun Microsystems. Retrieved August 2, 2009. Wikipedia revision 1305079468, retrieved 2026-11-18
  8. ^ Johannes Rieken (April 24, 2007). "Design by Contract for Java - Revised" (PDF). Retrieved October 2, 2010. Wikipedia revision 1305079468, retrieved 2026-11-18
  9. ^ "Support For 'Design by Contract', beyond "a simple assertion facility"". Sun Microsystems. Retrieved October 2, 2010. Wikipedia revision 1305079468, retrieved 2026-11-18
edit edit source

Text derived from https://en.wikipedia.org/w/index.php?oldid=1305079468 under CC BY-SA 4.0; modifications have been made.