Java is a general, all-purpose computer programming language that is class-based, object-oriented, and specially designed for application.
Java was initially developed for interactive television, It is let Application developers "write once,run anywhere, suggesting that compiled Java code can run on all platforms,Java applications are compiled to bytecode that can run on any Java virtual machine (JVM)
It began in 1990 when Sun Microsystems engineer Patrick Naughton all member team became more annoyed .The Stealth Project Project soon changed to the Green Project, with Mike Sheridan and James Gosling joining and the group began developing new technology for programming next-generation smart appliances.
Initial one ideas revolved around combining Mesa and C and producing an object-orientated environment in C++. They decided to rule out C++ because it needed too much memory and because its complexity led to developer errors; the lack of garbage collection was resulting in programmers having to manually manage system memory, which often resulted in mistakes They also wanted a platform that would port easily to all types of devices.
Gosling attempted to modify and extend C++,but quickly abandoned this approach creating an entirely new language which he called Oak, named after the tree that stood outside his office. The new language took 18 months to finish.
The Green Project became Firstperson,Sun Microsystems and started to look at building highly interactive devices.They were approached by Time Warner to create an interactive set-top box but responded with a proposal for an entire set-top box platform! The TV industry thought that this gave too much power to the user and Firstperson lost their bid before eventually being rolled back into Sun after they were unable to find further funding in the TV industry.
In 1994,Sun changed the name of the Oak language to Java, after a trademark dispute from Oak Technology.Although Java 1.0a was available for download in 1994, it wasn't until the 23rd of May 1995 that Java would see its first public release.
Java History of Version
Now a day Many java versions have been released. The current stable release of Java is Java SE 10.