Saturday, July 9, 2011

Difference between JRE, Java SE and JDK

What is the difference between the JRE and the Java SE platform?

JRE
(Java Runtime Environment)
Java SE
(Java Platform, Standard Edition)
Who needs it? Computer users who run applets and applications written using Java technology Software developers who write applets and applications using Java technology
What is it? An environment required to run applets and applications written using the Java programming language A software development kit used to write applets and applications using the Java programming language
How do you get it? Distributed freely and is available from:
java.com
Distributed freely and is available from:
oracle.com/javase


What is the difference between the JRE and the JDK ?
JRE
(Java Runtime environment)
JDK
(Java Development Kit)
It is an implementation of the Java Virtual Machine* which actually executes Java programs. It is a bundle of software that you can use to develop Java based applications.
Java Runtime Environment is a plug-in needed for running java programs. Java Development Kit is needed for developing java applications.
The JRE is smaller than the JDK so it needs less Disk space. The JDK needs more Disk space as it contains the JRE along with various development tools.
The JRE can be downloaded/supported freely from
java.com
The JDK can be downloaded/supported freely from
oracle.com/technetwork/java/javase/downloads/
It includes the JVM , Core libraries and other additional components to run applications and applets written in Java. It includes the JRE, set of API classes, Java compiler, Webstart and additional files needed to write Java applets and applications. 

No comments :

Post a Comment