Install Java

The JDK - Java Development Kit (Java Compiler javac) includes the compiler that converts source files with .java extension to compiled files with .class extension. It also include the Runtime Environment.

For develpment you'll need the JDK. The users of your code will only need the JRE.

Command line

In these article we will use the command line and not any IDEs so let's look at the
command line tools we get when we install the JDK:

Once you have downloaded and installed the JDK you have two command-line tools:

Comments

Author: Gabor Szabo

Gabor who runs the Code Maven site helps companies set up test automation, CI/CD
Continuous Integration and Continuous Deployment and other DevOps related
systems. Gabor can help your team improve the development speed and reduce the risk of bugs.