Java Programming Language was conceived by the effort of 5 great people, James Gosling, Patrick Naughton, Chris Warth, Mike Sheridan and Ed Frank. They all worked for Sun Microsystems, Inc and came up with Java in 1991. The language took 18 months to develop and had a initial name as “Oak” which was renamed to Java in 1995, due to copyright issues.
The idea was to develop a language which was platform-independent and which could create embedded softwares for consumer electronic devices. C and C++ were quite inefficient for the purpose because they were not platform-independent as there programs have to be compiled for particular hardware before execution. Also, the compiled code was inefficient for other processors and it had to be recompiled. So the team of 5 also called as Green Team began to work in developing a easier and cost-efficient solution. They worked for 18 months in developing a portable, platform-independent language that could create a code which can run on variety of processors under differing environments.