By Tony Bevis on Saturday, 05 August 2023
Category: Java

Java programming course: 1.2 The history and usages of Java

This is Lesson 1.2 of the Java programming course.

The history and usages of Java

Java dates back to the early 1990s as a research project undertaken at Sun Microsystems (now part of Oracle) to look at the application of computers to consumer electronic devices. The research team originally considered using C++ but decided the problem was best addressed by creating a new language with the following features:  

Java editions

There are two main editions of Java suitable for different purposes:

  • Java SE (Standard Edition): used for general purpose applications including those with a desktop user interface.
  • Java EE (Enterprise Edition): an extended edition used for large-scale enterprise applications, typically using a browser-based front-end.
This course focusses on Java SE (Standard Edition).

Java toolkits

It is also necessary to distinguish between the Java Development Kit (JDK) and the Java Runtime Environment (JRE):

  • The Java Development Kit (JDK) is a set of tools used to write Java programs.
  • The Java Runtime Environment (JRE) needs to be installed if you just need to run a program that has been written in Java. Once installed, this creates a Java Virtual Machine (JVM) which is the component that runs any Java program on your platform, including those written on a different platform. Common platforms are Windows, Linux and Macintosh, and a JRE is also available on some other platforms too. 
The JDK automatically incorporates the JRE for convenience so that you don't need to download each separately.

Do not confuse Java with JavaScript: they are two entirely separate languages which have different uses, although there is some degree of similarity in their syntax. Java is generally more comparable to C# and C++ than to JavaScript.

The next lesson describes what object-oriented programming is.

Lesson 1.3 What is object-oriented programming?

Related Posts

Leave Comments