

On the other hand, if you are planning to do some Java programming, you need to install the JDK instead. Unless you are a software developer, you only need to install Java JRE in your system to run Java programs. The JDK allows you to create and compile Java programs. It has everything the JRE has, but adds the compiler (javac) and tools (like javadoc and jdb). The Java Development Kit (JDK) is the full-featured software development kit for Java developers. JRE cannot be used to create new programs. The JRE software package includes the Java Virtual Machine (JVM), the Java Class Library, the Java command, and other infrastructure. The Java Runtime Environment or JRE contains everything required to run Java applications on your system. Examples of applications that use Java are numerous and widespread but include web browsers, office applications and even mainstream games like Minecraft are based on Java. Java is a programming language and software platform. Sometimes, even if you are not planning to do any Java development on a computer, you still need the JDK installed. The new license permits certain uses, such as personal use and development use, at no cost – but other uses authorized under prior Oracle JDK licenses may no longer be available.



The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. It is capable of creating and compiling programs. It has everything the JRE has, but also the compiler (javac) and tools (like javadoc and jdb). The JDK is the Java Development Kit, the full-featured SDK for Java.
