Which one to download: JDK or JRE?

Possible duplicate:
Java SE 6 vs JRE 1.6 vs JDK 1.6 - What does this mean?

I need to install the latest version of J2SE. So right now I'm on the link below, trying to figure out how to proceed. The author of the book I received says to get an updated version of J2SE. I found JSE7u5, which I think is an updated version. But the JDK and JRE appear on the right side of the page (which is still the link below). Should I install both of them to create a complete JSE package? I also work on a Mac.

http://www.oracle.com/technetwork/java/javase/downloads/index.html

+4
source share
3 answers

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.

+9
source

Just in case, the other answers were not clear:

  • You need a JRE to run java applications; JRE is the initialization of the Java Runtime Environment.
  • You need a JDK to develop java applications; JDK is an initiative of the Java Development Kit. JDK includes JRE.
  • Currently, Java SE (standard) and Java EE (enterprise) are used for standard and enterprise editions.
+9
source

The Java Development Kit (JDK) is all you need.

JRE is all you need if you just want to run Java programs.

The Java platform has not been called J2SE for many years. The latest J2SE 5.0 was released in 2004 and has been ending for several years. http://en.wikipedia.org/wiki/Java_version_history

+4
source

All Articles