Java is an object-oriented programming language that is platform independent. It was created in 1995 by Sun Microsystems with James Gosling as the lead developer. Java programs are first compiled into bytecode, which can run on any Java Virtual Machine (JVM) regardless of computer hardware or operating system. This allows Java programs to run on any platform that supports Java without being recompiled.