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.
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:
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.