vishalkin
vishalkin

Reputation: 1235

What is difference between JDK7u45 and Java7u21

I am starting with android development and while setting up Eclipse SDK i got an error that Java Development Kit(JDK) or Java Runtime Environment is missing. I had Java7 update 21 installed already. but now I downloaded JDK7u45 from Oracle site.
I want to know the difference between Java 7 and JDK 7 and also if I remove JAVA and install only JDK(as EclipseSDK is giving an error that JDK is missing) then will it make any difference in my desktop environment?

Upvotes: 1

Views: 368

Answers (1)

Juned Ahsan
Juned Ahsan

Reputation: 68715

I want to know the difference between Java 7 and JDK 7 and also if I remove JAVA and install only JDK(as EclipseSDK is giving an error that JDK is missing) then will it make any difference in my desktop environment?

Java 7 = JDK7(Java Development Kit) + JRE7(Java Runtime Environment)

JDK 7 = just JDK i.e. Java Development Kit

JDK is required to compile/build your java programs, generates the class files. Whereas JRE is required to run the generated class files. Eclipse requires JDK to compile your code, hence it is necessary to have it. Generally JDK contains Java Runtime Environment under the directory name jre inside jdk.

Upvotes: 1

Related Questions