Prerequisite knowledge for Building Java Applications (i.e.

A java application is always executed in a JVM using a JRE. The JRE contains a library of classfiles which the application does not have to…