Java was created in 1991 by James Gosling at Sun Microsystems and was originally called Oak. It was designed to be platform independent and wrote code that ran on any system with a Java Virtual Machine (JVM). Java uses object-oriented programming concepts like classes, objects, inheritance and interfaces and became popular for building web apps and mobile apps due to its ability to write once and run anywhere.