Java is a widely used computer programming language expressly designed by Sun Microsystems for use in the distributed environment of the internet. Java is defined as an object-oriented language similar to C++, but simplified to eliminate language features that cause common programming errors. The source code files (files with a .java extension) are compiled into a format called bytecode (files with a .class extension), which can then be executed by a Java interpreter.
Java is intended to let application developers "write once, run anywhere" (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation.