when installing jdk, you can choose not to install public jre, as shown in the following figure. Because there is already jre in jdk. I haven"t installed jre, yet. I haven"t found anything wrong yet. I can develop it normally. I would like to ask you if there are any problems that I have not found in the installation, please let me know.
in addition, my environment variable is configured to;% JAVA_HOME%\ bin;%JAVA_HOME%\ jre\ bin
when I type the command java under cmd, if I follow the precedence priority, then I should execute% JAVA_HOME%\ bin\ java.exe instead of% JAVA_HOME%\ jre\ bin\ java.exe.
I don"t understand why we need two java.exe,. I have tried two java.exe-version execution results are the same, but the file hash value is different, indicating that the file is different. Is there a big god clear?