Parts of Java
the Java source code is first compiled and converted into bytecode by the compiler. Then this bytecode is fed to JVM.then JVM verifies and executes the bytecode and provides output. JVM also helps in making java programs more secure and portable across different platforms. write another simple way
- JVM:Java Virtual Machine is virtual machine. It is a specification that provides runtime environment in which java bytecode can be executed.
- JDK: JDK standard form java development kit.The JDK is a development software for building applications using the Java programming language. .
- JRE: JRE stands for Java Runtime Environment.JRE is the implementation of JVM. It provides a platform to execute java programs. JRE consists of JVM, Java libraries, and other classes to execute any program successfully. JRE doesn’t contain any development tools such as Java compiler, debugger.
- JIT: JIT Stands for Just in Time Compiler.JIT is part of the JVM that optimizes the process of converting byte code to machine code.
- Java Compiler: The Java compiler translates human-readable Java source code into an intermediate form called Java bytecode. This bytecode is a set of instructions that can be executed by the Java Virtual Machine (JVM), making Java a platform-independent language. The JVM then interprets or compiles this bytecode into machine code,