• What Is JDK?

JDK is the acronym for Java Development Kit- essentially a Java platform, consisting of the API classes, a Java compiler, and the Java Virtual Machine interpreter. The JDK is used to compile Java applications and applets.


  • What is JVM?


Java Runtime Environment contains JVM, class libraries, and other supporting files. It does not contain any development tools such as compiler, debugger, etc. Actually JVM runs the program, and it uses the class libraries, and other supporting files provided in JRE. If you want to run any java program, you need to have JRE installed in the system


The Java Virtual Machine provides a platform-independent way of executing code; programmers can concentrate on writing software, without having to be concerned with how or where it will run.



  • What is JVM (Java Virtual Machine)?



As we all aware when we compile a Java file, output is not an 'exe' but it's a '.class' file. '.class' file consists of Java byte codes which are understandable by JVM. Java Virtual Machine interprets the byte code into the machine code depending upon the underlying operating system and hardware combination. It is responsible for all the things like garbage collection, array bounds checking, etc… JVM is platform dependent.


The JVM is called "virtual" because it provides a machine interface that does not depend on the underlying operating system and machine hardware architecture. This independence from hardware and operating system is a cornerstone of the write-once run-anywhere value of Java programs.


There are different JVM implementations are there. These may differ in things like performance, reliability, speed, etc. These implementations will differ in those areas where Java specification doesn’t mention how to implement the features, like how the garbage collection process works is JVM dependent, Java spec doesn’t define any specific way to do this.


If you want to develop applications for Java, download the Java Development Kit, or JDK. The JDK includes the JRE, so you do not have to download both separately.



You've been here 1 times.

Popular Posts

Labels

Latest Comments

The last comments for

Java for Developers

Java Runtime

Great informative article....

March 10, 2016 14:02:54 Jump to

Java Runtime

Nice post thanks for sharing...

March 10, 2016 14:02:04 Jump to

java runtime

Nice stuff, thank you for sharing.......

April 22, 2015 09:14:43 Jump to

The last comments for

How to fix : Windows 7 Gadgets not displaying properly

Photochopcs3

It was a great solution and people suffer from these kind of experience. Thank you so much for the help....

December 16, 2014 11:13:27 Jump to

Zeusjack

I have the same problem with my Windows. Thank you so much for finding the solution.

December 16, 2014 05:26:11 Jump to

Blog Archive

Followers

Total Pageviews