JDK stands for Java Development Kit. It is a software development environment in which you can develop Java applications. It includes a private JVM and a few other resources to finish the development of a Java Application.
It provides all the tools, like Java IDL Tools, Security Tools, Basic Tools, Internationalization Tools, etc.
Basic Tools: It is used to create and build java applications.
Security tools: These tools help to set security policies on your system and create apps that can work within the scope of security policies set at remote sites.
Java IDL Tools: It is used for distributed objects. That means objects interacting on different platforms across a network.
Internationalization Tools: It helps to create localizable apps.
JRE stands for Java Runtime Environment. It is a software tool that allows to run a Java application on your computer.
It is the implementation of JVM and to run java code JRE is required. If the JRE is not installed on a computer, Java programs may not be recognized by the operating system and will not run.
The JRE software provides a runtime environment in which Java programs can be executed, just like software programs that have been fully compiled for the computer’s processor.
JRE software is available as both a standalone environment and a Web browser plug-in, which allows Java applets to be run within a Web browserJRE contains a set of libraries that JVM uses at run time.
JRE=JVM + libraries Set.
JVM stands for java virtual machine. It is a virtual machine that enables a computer to run Java programs. JVM is platform-dependent i.e for each software and hardware we have different JVM configuration.
It converts Java bytecode into machine language and vise versa. It is a part of the Java Run Environment. Without JVM you can not run any java program.
Task Of JVM
- Loads code
- Verifies code
- Executes code
- Provides runtime environment