On the other hand, if you are planning to do some Java programming, you need to install the JDK instead.
Usually, if you only care about running Java programs on computer you will only install the JRE. 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. However, it cannot be used to create new programs. It is a package of everything necessary to run a compiled Java program, including the Java Virtual Machine (JVM), the Java Class Library, the java command, and other infrastructure. Contains everything required to run Java applications on your system. The JRE is the Java Runtime Environment, it covers most end-users needs.
Installing this update will ensure that your Java applications continue to run as safely and efficiently as always. Runtime warnings about synchronization can also be activated, using command-line option -XX:DiagnoseSyncOnValueBasedClasses.It's also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing. New javac warnings discourage synchronization on value-based class instances. Programmers are strongly discouraged from calling the wrapper class constructors, which are now deprecated for removal.
Such code can be made to run on JDK 16 by specifying -illegal-access=permit. As a consequence, existing code that uses most internal classes, methods, or fields of the JDK will fail to run.
This section describes some of the enhancements in Java SE 16 and JDK 16.
The full version string for this update release is 16.0.2+7 (where "+" means "build"). Why would you need the JDK then? Because the application server will convert JSP into Java servlets and needs to use the JDK to compile the servlets. For example, if you are deploying a web application with JSP, you are technically just running Java programs inside the application server. 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.