Java

Java is a high-level programming language developed by Sun Microsystems. It was originally designed for developing programs for set-top boxes and handheld devices but later became a popular choice for creating web applications.

The Java syntax is similar to C++, but is strictly an object-oriented programming language. For example, most Java programs contain classes, which are used to define objects, and methods, which are assigned to individual classes. Java is also known for being more strict than C++, meaning variables and functions must be explicitly defined. This means Java source code may produce errors or "exceptions" more easily than other languages, but it also limits other types of errors that may be caused by undefined variables or unassigned types.

Unlike Windows executables (.EXE files) or Macintosh applications (.APP files), Java programs are not run directly by the operating system. Instead, Java programs are interpreted by the Java Virtual Machine, or JVM, which runs on multiple platforms. This means all Java programs are multiplatform and can run on different platforms, including Macintosh, Windows, and Unix computers. However, the JVM must be installed for Java applications or applets to run at all. The JVM is included as part of the Java Runtime Environment (JRE).

NOTE: Oracle acquired Sun Microsystems in January 2010. Java is now maintained and distributed by Oracle.

File extensions: .JAVA, .JAV, .JAD, .JAR, .JSP, .CLASS

Updated April 19, 2012 by Per C.

quizTest Your Knowledge

Which acronym describes a computer interface with a desktop and icons?

A
DXI
0%
B
GUI
0%
C
PMI
0%
D
KDI
0%
Correct! Incorrect!     View the GUI definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Java on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.