Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Java 1.6 the same as JDK 6?

Tags:

java

I'm taking a computer science course and the syllabus says download java 1.6. I don't find a java 1.6, everything says JDK 6. When I googled java 1.6 I found this link:

http://java.sun.com/javase/downloads/index.jsp

Is this what he's refering to as java 1.6? I downloaded JDK 6 update 17 and netbeans 6.8. I'll email the instructor and ask him this question, but I bet I'll get quicker answer here and I'm ready to get started! Thanks!

update: Thanks for the quick answers everyone! I'm rolling along now!

like image 736
cchampion Avatar asked Jan 12 '10 22:01

cchampion


People also ask

Is Java 6 and Java 1.6 the same?

Version 6 is the product version, while 1.6. 0 is the developer version. The number 6 is used to reflect the evolving level of maturity, stability, scalability and security of Java SE.

Is Java version same as JDK version?

The JDK is a key platform component for building Java applications. At its heart is the Java compiler. The Java Development Kit (JDK) is one of three core technology packages used in Java programming, along with the JVM (Java Virtual Machine) and the JRE (Java Runtime Environment).

Is Java 1.6 still supported?

Details. Oracle Java SE 6 (Oracle JDK 6 and Oracle JRE 6) and Oracle JRockit (all versions) Extended Support period ended as described below: Java SE 6 Deployment Technology (i.e. web technology; primarily, Java Plugin and Java WebStart): Extended Support ended June, 2017.

Is Java 1.7 the same as Java 7?

all the way to 1.7, also known as Java 7) usually contain improvements to both the JVM and the standard library, so the two usually need to run together, and are packaged together in the JRE. If you are running any Java program on your computer, you have a JRE installed. The JDK is the Java Development Kit.


2 Answers

No, but yes.

JDK means Java Development Kit 6.

It's an implementation of the Java SE 6 platform as specified by JSR 270 together with a set of development tools (the implementation of the platform without the development tools is called the JRE: Java Runtime Environment).

For some reason the internal version number of the JDK 6 is "1.6" (or 1.6.0_17 for example). But that's only the internal version number of that piece of software. The Java platform itself is simple "Java SE 6" (no "1." anywhere to see).

So to re-iterate:

  • "Java 6" usually means "Java SE 6"
  • "Java SE 6" is the "Java Standard Edition 6 platform", which is a specification of what the platform looks like
  • "JDK 6" is the "Java Development Kit 6", which is a development kit for Java SE 6
  • The internal version number of the software components that make up JDK 6 is "1.6.x"
  • "JDK 1.6" doesn't exist, strictly speaking, but is usually written to refer to JDK 6
  • "Java 1.6" doesn't exist, strictly speaking, but is usually written to refer to Java SE 6

So if you're told to install "Java 1.6" for a software development course, then the JDK 6 is definitely the correct piece of software to install.

Update: yes, all of the above is still correct after Oracle bought Sun and Java 7 (specified in JSR 336) was released. Java 7 still uses "1.7.0" as the internal version number.

like image 151
Joachim Sauer Avatar answered Oct 07 '22 20:10

Joachim Sauer


Yes, they're the same. See this page for a more detailed explanation of the version numbering.

like image 41
Jared Russell Avatar answered Oct 07 '22 20:10

Jared Russell