It has class libraries and other resources which are needed to run a Java program. It comprises browser, JVM, applet supports, and plugins. JRE allows us to run java programs on our computers using Java bytecodes. ![]() It is included in the Java development kit. JRE: JRE stands for Java Runtime Environment. It is thus essential to develop and run a java program on our computer. It contains development tools to provide an environment to develop java programs and JRE to execute java programs. It is the whole package entailing compiler, Java Runtime Environment ( JRE), java docs, debuggers etc. JDK: JDK stands for Java Development Kit. It is also platform-dependent and performs many functions, including memory management and security. It is an essential component of both JDK and JRE. So, the function of JVM is to convert bytecodes into machine code. JVM loads the code, verifies and executes the code. JVM is the one that actually calls the main method present in a java code. In the running phase, JVM then converts the bytecode into machine code. It takes java code as input and converts it into bytecode. The compilation is performed using JAVAC compiler. As we know, Java codes are first compiled into bytecodes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |