History of Java
Gosling began writing software in C++ for embedding into such items as toasters, VCRs, and Personal Digital Assistants (PDAs). The embedded software makes appliances more intelligent, typically by adding digital displays or by using artificial intelligence to better control the mechanisms. However, it soon became apparent to Gosling that C++ was the wrong tool for the job. C++ is flexible enough to control embedded systems, but it is susceptible to bugs that can crash the system. In particular, C++ uses direct references to system resources and requires the programmer to keep track of how these resources are managed, which is a significant burden on programmers. This burden of resource management is a barrier to writing reliable, portable software, and it is a serious problem for consumer electronics. After all, computer users have come to expect their software to have some bugs, but few expect their toasters to crash.
About java
Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems’ Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer architecture.
The original and reference implementation Java compilers, virtual machines, and class libraries were developed by Sun from 1995. As of May 2007, in compliance with the specifications of the Java Community Process, Sun made available most of their Java technologies as free software under the GNU General Public License. Others have also developed alternative implementations of these Sun technologies, such as the GNU Compiler for Java and GNU Classpath.