Skip to main content

Posts

Showing posts from March, 2018

What is Java Virtual Machine (JVM)?

Java  Virtual   Machine  (JVM) is an abstract machine that executes Java  Bytecode. There are different  JVM for different hardware and software platforms.  So JVM is platform dependent.  JVM  is responsible for loading, verifying and executing the Bytecode on a platform.

What is the difference between JDK and JRE?

JDK stands for Java  Development Kit.  It contains the tools and libraries for development of Java programs.  It also contains compilers and debuggers needed to compile Java program. JRE stands for Java Runtime Environment. This is included in JDK. JRE provides libraries and  JVM that is required to run a Java program. Its currently owned by Oracle. http://www.oracle.com/technetwork/pt/java/javase/overview/index.html