Brief Introduction to SDK – JRE – JVM – JIT

SDK

This is complete collection of Java stuff, as it has compiler which convert source code (*.java) to Java bytecode (*.class), jar acrhive to package class library to jar file, VisualVM to let user visualize the performance and memory capability… and many more.

JRE
JRE consists of the Java Virtual Machine (JVM), Java platform core classes, and supporting Java platform libraries. JRE is the runtime portion of Java software, which is all you need to run you Java application for eg: applet in web browser.

JVM
When you run your Java application as “java …” this is where JDK spawn a new instance of JVM, which equivalent to operating system process.

JIT
JIT use to compile bytecode into machine specific native code, to optimize the targeted CPU and operating System. JIT is part of Java Virtual Machine.

 

dicksonkho

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.