(a) J.V.M (Java Virtual Machine)-

J.v.m = j.i.t(just-in-time compiler)+cache
-J.v.m Doesn’t exists physically,
-J.v.m provides specifications to execute java bytecode.
-J.v.m is platform dependent and easily available for many platforms(OS)

java-program-execution

*JVM internal architecture*-

jit

(b)JRE (Java Runtime Environment)-

– implementation of JVM.
– physically exists.
JRE = JVM + Set of libraries (i.e. jar) + Other Files

java-jrejdkjvm-jvmpicture

(c)JDK (Java Development Kit)-

– physically exists.
JDK = JRE + Development tools(i.e. javac, java etc)

10011df

Advertisements