Home> Java> javaTutorial> body text

Java JVM, JRE and JDK

DDD
Release: 2024-09-12 22:15:31
Original
954 people have browsed it

Java JVM, JRE and JDKJVM (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/

The above is the detailed content of Java JVM, JRE and JDK. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!