Java was first created in 1991 under the name Oak and was officially announced in 1995 by Sun Microsystems. Sun Microsystems first released Java and its compiler in November 2006 and later released additional tools like bookcases in May 2007. The document then provides examples of basic Java programming concepts like variables, methods, and classes to explain object-oriented programming in Java.