The JDK is required to develop Java applications, but includes the JRE (Java Runtime Environment), which is required to run Java applications.
If you are an advanced user and know what you are doing, you only need one copy of the JRE, which means that you do not need a "Public JRE" in addition to the one that comes with the JDK.
Just set the JAVA_HOME
environment variable to specify the JDK installation directory, and add the JRE bin
, i.e. %JAVA_HOME%\jre\bin
to your PATH
.
If you want Java to notify / remind / annoy you of updates and have an additional 200 MB of disk space that you don’t need, install a public JRE as well.
source share