0
what is the difference between JVM and jdk
3 Respostas
+ 8
JVM is java virtual machine which can run byte code (.class files). We obtain .class files after compilation. That byte code gives same result in various platforms like windows, Linux etc. Which makes java portable language.
JDK is a software which contain JRE and all useful tools those are required to run java applications.
+ 1
jvm is like a bridge between your OS and JDK. it translates the source code into machine understandable byte code. this is the reason why java is platform independent because jvm can operate on any platform.
+ 1
Jvm is in jdk