DEV Community

Cover image for Java JVM, JRE and JDK
PUSHAN VERMA
PUSHAN VERMA

Posted on

1

Java JVM, JRE and JDK

Image descriptionJVM (Java Virtual Machine )
JRE(Java Runtime Environment)
JDK(Java Development Kit)

For Java to run on your computer you need some software right , So you install JDK , it is a development kit as the name suggests it has a kit to run Java , just like you have cricket kit which contains pads, Helmet , and Bat etc. it has all the things for you to run java .

After installing JDK, you write some code in java in your IDE and compile the code and after compiling a class file is also generated why ? because JDK has a virtual machine which converts your “english code” to bytecode for system to understand because at the end computer only understands 0’s and 1’s.

And during compiling of your code , apart from your own written code you need some other files also to run the program i.e if you are using a java collection framework method i.e arrays.sort() , or using any method which is provided by java inbuilt , that means you are using inbuilt functions and that functions are provided by JRE(java run time environment )

So this is the lifecycle of a simple java program that you write.

Connect me here -https://www.linkedin.com/in/pushan-verma-559260176/

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay