Java
Website:
java.comDesigner: James Gosling
Developer: Oracle Corporation
First appeared: May 23, 1995; 31 years ago
Latest stable release: Java SE 26, released March 2026
Memory management: Garbage collector
Filename extensions: .java, .class, .jar, .jmod, .war
Java
Java is a high-level, general-purpose programming language created by Sun Microsystems, which was later bought out by Oracle Corporation, which continues to update it to this day.
Java applications are usually complied to bytecode that can run on any Java Virtual Machine (JVM), meaning that Java programs can run on all platforms that support Java without needing to be recompiled.
The syntax of Java is very similar to that of C or C++, although with fewer low-level features.
Shortly after its release, Java gained large amounts of popularity, and has stayed a popular language since then. In 2022, according to GitHub, Java was the 3rd most popular programming language.
History
Java was created in 1991 by James Gosling and others at Sun Microsystems with the initial goal of developing software for interactive television, but it was too advanced for the cable television industry at the time. The language was originally named Oak but was renamed to Java in 1995 due to trademark conflicts.
In 1995, Java 1.0 was released, introducing the Java Virtual Machine (JVM), so developers could "Write Once, Run Anywhere". Around 1995-1996, Java was rapidly adopted by web browsers like Netscape Navigator, which used Java applets for interactive web content. In 2006, Sun Microsystems released Java as open-source software under the GNU General Public License, to increase adoption, maintain competitiveness against Microsoft's .NET, and enable community-driven development across platforms. In 2010, Oracle Corporation acquired Sun Microsystems, and in the years after, added major features like generics, lambdas, and a module system.
Example Code
The code below is an example of a hello world program in the "traditional" Java syntax:
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}Java 25 introduced a simpler syntax for the main method, as shown below:
void main() {
IO.println("Hello World!");
}References
En Wikipedia Org. (2026). Java (Programming Language). https://en.wikipedia.org/wiki/Java_(programming_language). Retrieved August 7, 2026.