Hi friends,
Anyone can tell the difference between a JDK and a JVM?
Thanks for help.
Results 1 to 3 of 3
-
08-29-2013, 01:00 PM #1
- Join Date
- Jan 2013
- Posts
- 29
- Rep Power
- 0
What is the difference between a JDK and a JVM?
-
08-25-2014, 04:34 AM #2
- Join Date
- Dec 2013
- Posts
- 28
- Rep Power
- 0
JDKand JVM are core concepts of Java programming language.
JDK comes as installer while jvm are bundled with them.
JDK is for development purpose of the the java programs.
JDK contains JVM so that we can run our java program.
JVM is the heart of java programming language and provides platform independence.
-
12-09-2015, 03:17 AM #3
JVM (Java Virtual Machine) is an abstract machine. It is a specification that provides run time environment in which Java byte code can be executed. 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.
The JVM performs the following main tasks:
• Loads code
• Verifies code
• Executes code
• Provides run time environment
JDK is an acronym for Java Development Kit. It physically exists. It contains JRE+ development tools.
Java Developer Kit contains tools needed to develop the Java programs, and JRE to run the programs. The tools include compiler, Java application launcher, Applet viewer, etc....Compiler converts java code into byte code. Java application launcher opens a JRE, loads the class, and invokes its main method.
Similar Threads
-
What is the difference between Google SEO and Yahoo SEO?
By toryy in forum Search Engine Optimization (SEO) ForumReplies: 15Last Post: 08-27-2014, 06:11 AM -
Difference Between Panda and Penguin?
By shahzaib in forum Search Engine Optimization (SEO) ForumReplies: 6Last Post: 06-06-2013, 08:13 AM -
What is difference between Seo and PPC
By shahzaib in forum Search Engine Optimization (SEO) ForumReplies: 5Last Post: 05-23-2012, 02:10 PM -
Difference Forex/Day Trading
By duoduocomeon in forum Forex Trading Discussion ForumReplies: 3Last Post: 12-14-2007, 10:31 AM