answersLogoWhite

0

What's the difference between JVM and JDK?

Updated: 8/16/2019
User Avatar

Wiki User

15y ago

Best Answer

There are two main things you can download for Java: the Java Runtime Environment (JRE) and the Java Development Kit (JDK). The JRE is used by those who wish only to run Java programs. In order to do this it uses the Java Virtual Machine (JVM) to run Java bytecode. The JDK is used by developers and contains both the JRE and the programs and libraries needed to compile and run Java programs.

Simple summary: The JDK contains the JRE which contains the JVM.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What's the difference between JVM and JDK?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between jvm jdk?

JVM stands for java virtual machine. This is actually the machine in which all the java programs you write will get executed. It comes as part of any JDK (Java Development Kit) Installations. JDK stands for Java Development Kit. JDK is the total software that comes to us as part of the download from the Sun Java website. It is the stuff that is required to write and execute java programs.


What is difference between jvmjre and jdk?

JVM Stands for Java Virtual Machine. JVM is the virtual machine in which a java program gets executed. JRE stands for Java Runtime Environment. JRE is the runtime set up that is required by the JVM to execute java programs. JDK stands for Java Development Kit. JDK is the basic software that gets downloaded from sun's java website if anyone wants to use java.


How is JRE or JVM installed on a computer?

The JVM is part of the JRE (Java Runtime Environment) or the JDK (Java Developer Kit). Both the JDK and JRE are packages available from a variety of sources. The most common one is available from Sun (now Oracle). You simply visit the web site, and it will then download and install the JRE for you after you answer a couple of questions: http://www.java.com/


What would happen if you deleted java from my computer?

You would not be able to run JAVA code in your computer until you re-install the JVM and JDK in your machine.


What is Java Development Kit?

The "JDK" is the Java Development Kit. I.e., the JDK is bundle of software that you can use to develop Java based software. Typically, each JDK contains one (or more) JRE's along with the various development tools like the Java source compilers, bundling and deployment tools, debuggers, development libraries, etc.


What is the difference between Java IDE and JVM?

Java Virtual Machine is a program that runs pre compiledJavaprograms, which mean JVM executes .class files (byte-code) and produces output. The JVM is written for each platform supported by Java included in the Java Runtime Environment (JRE). The Oracle JVM is written in the C programming language.


How does you set the path of java progrramig?

In Windows:Copy the lib path of the java jdk from where it is installed.Open command promt.Type the following command.set CLASSPATH=Example:C:\>set classpath=C:\Java\jdk1.6.0_03\lib


What is ther role of jre in java?

JRE stands for Java Runtime Environment. JRE is the runtime set up that is required by the JVM to execute java programs. The JRE and JVM (Java Virtual Machine) come packaged along with the Java Development Kit (JDK) that we download and install from the suns website to install Java.


How do you install Java 6?

Depends on the kind of java you want to use. But most java applications require you to have a JVM. If it java programing developer then you will need java JDK e.g if you want to use net beans as integrated developing environment(IDE) for java coding you must install JDK first before installing it.


Why java is plateformindepedent?

Java enabled machines (PC, Mac, Smart Phones,etc.) all have their own version of whats called the JVM (or java virtual machine). The JVM takes source code written by programmers and converts into the corresponding machine code. For example a JVM running on a PC would convert the source into machine code corresponding to a PC and so on.


What is purpose of JVM?

JVM stands for Java Virtual Machine The JVM is the system in which our Java programs are executed.


Is JVM is part of compiler?

no jvm is not a part of java compiler