Java was developed by Sun Microsystems in 1995 as a general purpose object-oriented programming language based on C and C++. It was designed to be portable and platform independent through its "write once, run anywhere" ability, making it well-suited for web and internet applications. Java addressed limitations of C and C++ by being portable and secure, meeting demands of the emerging World Wide Web.