Welcome to all
Java Virtual Machine(JVM)
| Stack of Communication |
- Java virtual machine does not physically exist and also it is not a machine, it is only software like OS on which java bytecode can be interpreted.
- It provides an environment to byte code for execution. it is platform dependent because every OS has a different configuration.
- Byte code run on the only JVM so java source code is compiled into bytecode so if any PC has JVM installed then we are able to run java code in that PC and that's why Java is platform-independent.
Java Runtime Environment(JRE)
![]() |
| Inside JRE |
- Observe the Picture, it is clear that JRE is also Software.
- JVM is inside the JRE.
- JRE contains a set of libraries(.jar files) and other files.
- It is used to provide a runtime environment. It is the implementation of JVM. It physically exists.
Java Development Kit(JDK)
![]() |
| Inside JDK |
- JRE + Development Tools e.g java and javac and other.
- JDK contains few other resources such as an interpreter/loader (java), a compiler (javac), an archiver (jar), a documentation generator (Javadoc), etc.
- JDK is an implementation of any one of the below given Java Platforms released by Oracle Corporation:
- Standard Edition Java Platform(SE)
- Enterprise Edition Java Platform(EE)
- Micro Edition Java Platform(ME)
Subscribe by Email
Follow Updates Articles from This Blog via Email


No Comments
Please comment here...