JDK: Java Development Kit contains tools needed to develop java programs.
the tools are(JAVAC.EXE-compiller, JAVA.EXE-application launcher),applet viewer etc.
JRE:
JRE=JVM+Java packages(util,math,lang,awt,swing...)
JRE contains JVM, class libraries, and other supporting files.It does not contain any development tools such as compiler . Actually JVM runs the program, and it uses the class libraries, and other supporting files provided in JRE.
If you want to run any java program, you need to have JRE installed in the system
JVM:
When we compile a JAVA File, output is not an '.exe' but it's a '.class' file consist of
Java Byte Codes Which are understandable by JVM. JVM Inteprets the bytecodes into the machine code depending on operating system and hardware combination. It is responsible for all the things like garbage collection, array bounds checking.
Save as Draft
the tools are(JAVAC.EXE-compiller, JAVA.EXE-application launcher),applet viewer etc.
JRE:
JRE=JVM+Java packages(util,math,lang,awt,swing...)
JRE contains JVM, class libraries, and other supporting files.It does not contain any development tools such as compiler . Actually JVM runs the program, and it uses the class libraries, and other supporting files provided in JRE.
If you want to run any java program, you need to have JRE installed in the system
JVM:
When we compile a JAVA File, output is not an '.exe' but it's a '.class' file consist of
Java Byte Codes Which are understandable by JVM. JVM Inteprets the bytecodes into the machine code depending on operating system and hardware combination. It is responsible for all the things like garbage collection, array bounds checking.
Save as Draft