And if you are wondering what the difference is between a JDK and the JRE (the article prefix should be a clue), a Java Development Kit contains the Java Runtime Environment but also has javac (the compiler) along with other programming tools added. The Java Runtime Environment contains the Java Virtual Machine is which required to run Java programs.