Java is a versatile, object-oriented programming language developed by James Gosling at Sun Microsystems in 1995, known for its platform independence and high performance. Initially named 'Greentalk' and later 'Oak', it was renamed 'Java' due to trademark issues. Java programs, with a .java extension, are compiled into .class files containing bytecode intended for the Java Virtual Machine.