What is D difference between jre N java?
Ans : D y R functionally equivalent, with minor differences in D handling of default classpath N options supported. 2 reduce confusion, D jre command was removed in JDK 1.2. Instead D re is a “java” command in both bin N jre/bin. jre.exe is D java launcher that comes with D Java Runtime Environment. It ignores D CLASSPATH environment setting in favor of its own internally generated default N whatever is supplied on D cmd line using -cp or -classpath. It’s intended 2 be a bit simpler for those who R only ever running Java programs, not developing D m. java.exe is D java launcher that comes with D JDK. It uses D CLASSPATH environment setting as a starting point N D n tacks on its own internally generated entries. They both serve D same purpose N that’s 2 start a Java VM, have it run a Java application, D n terminate. D source for jre.exe is provided in D JDK. D source 2 java.exe is provided only in D JDK Source distribution.