Download the JDK if you want to do Java development. The JDK comes with a Java compiler (javac), which you will need for development. JRE is a runtime environment - get this only if you want to run Java programs. If you get a JDK, it comes with a JRE enabled, so you don't need to get a JRE separately.
kjp
source share