Originally posted by Stan James:
The JRE (runtime environment) is everything somebody needs to run Java programs. So if you give your programs to somebody who is not a developer, you can give them the smaller JRE instead of the whole JDK. I've had good luck just copying it onto new machines and setting up some path & classpath stuff in a batch file to run a program. Doing a full-blown install may set some of that up automatically, but risks breaking another program that uses a different version of the JRE.
I am not very clear about this. Do you mean
1. JRE is a subset of JDK ??
2. For JDK, you need to add PATH+\jdk1.4\bin\ in order to compile java code. For JRE, what PATH or CLASSPATh do you need to add in order to run java program ? I assume end users are NOT supposed to add any such thing...