JDK vs JRE vs JVM

In your first lesson of Java you may hear this jargon JDK, JRE, JVM. 🙂 You may or may not be confused. when your teacher says about this Jargon, I hope you were busy with compile and execute your “Hello World “ program.

I wonder some time how this happens? Let’s have a coffee break with jargon.

Let’s surf what is JDK. I have goooooogle on Google Images about JDK. Lots of places it shows the following complicated image with so many stuffs. 

OMG! What is this ? Cool Let’s take dig! 

JDK : Java Development Kit


Let’s called JDK is a kit, which include what are those things need to developed and run java applications. 

JDK is given as development environment for building applications, component s and applets. 

You can find the latest jdk here

JRE : Java Run-time Environment

It contains everything you need to run Java applications in compiled form. You don’t need any libraries and other stuffs. All things you need are compiled. 

JRE is can not used for development, only used for run the applications. 

So finally we are come to a conclusion that:

“If you want to run Java programs, but not develop them, download the Java Run-time Environment, or JRE. If you want to develop them, download the Java Development kit, or JDK”


JVM: Java Virtual Machine

It’s a virtual machine, which work on top of you operating system and giving an environment to your compiled java codes. JVM only understand the byte codes (.class), which are compiled with java compilers. 

You may wonder how this compilations works. Let’s watch this video.

Oh! The Coffee is finished lets meet in another coffee break…
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s