Jdk Jre Jvm Architecture
In this tutorial we will cover what java virtual machine is and what is jre and jdk.
Jdk jre jvm architecture. Jre java runtime environment is a software package that provides java class libraries java virtual machine jvm and other components that are required to run java applications. Whatever java program you run using jre or jdk goes into jvm and jvm is responsible for executing the java program line by line hence it is also known as interpreter. After learning about the history of java we came to know about the terminology like jdk jvm jre so let s go a little bit in depth to learn more about the jdk jvm and jre and the difference between them. Java plug in which enables applets to run in popular browsers.
Jre is a part of jdk which we will study later but can be downloaded separately. Its implementation has been provided by oracle and other companies. An implementation its implementation is known as jre java runtime environment. If you are visiting our softwaretestingo blog for the first time then you can check our series of posts on the core java tutorial by following the link.
Java virtual machine jvm is a virtual machine that provides runtime environment to execute java byte code. The java runtime environment jre provides the libraries the java virtual machine and other components to run applets and applications written in the java programming language. And java web start which deploys standalone applications over a network. Difference between jdk jvm jre.
In addition two key deployment technologies are part of the jre. Java virtual machine is a specification and implementaion provided by sun microsystem. Jvm java virtual machine jvm is a very important part of both jdk and jre because it is contained or inbuilt in both. If you are interested in learning about jvm architecture visit the jvm architecture explained.
But implementation provider is independent to choose the algorithm. A specification where working of java virtual machine is specified. It is an abstract machine that is used to provide runtime environment for java application or applet. Difference between jdk jre and jvm.
To execute any java application you need jre installed in the machine. Jvm is just a part of jre distributions. The jvm doesn t understand java typo that s why you compile your java files to obtain class files that contain the bytecodes understandable by the jvm.