top of page

JAVA: JVM and ByteCode

JVM

JVM stands for Java virtual Machine.


What is JVM?

Java virtual Machine (JVM) is a virtual Machine that provides runtime environment to execute java byte code. The JVM doesn't understand Java typo, that's why you compile your *.java files to obtain *.class files that contain the bytecodes understandable by the JVM. JVM control execution of every Java program. It enables features such as automated exception handling, Garbage-collected heap.


JVM Architecture



ree


What is Bytecode?


Bytecode is nothing but the intermediate representation of Java source code which is produced by the Java compiler by compiling that source code. This byte code is an machine independent code. It is not an completely a compiled code but it is an intermediate code somewhere in the middle which is later interpreted and executed by JVM. Bytecode is a machine code for JVM.



ree


Comments


Post: Blog2_Post

learning with arya

Subscribe Form

Thanks for submitting!

©2023 by [Business Name]. Proudly created with Wix.com

bottom of page