answersLogoWhite

0

== == JRE includes (JVM ) java virtual machine and some other library files. That runs a java application. JVM - understand the corresponding byte code of a java class and make it ready for run. The Java Runtime Environment (JRE) is an implementation of the JVM (Java Virtual Machine) that actually executes our java programs.

The Java Virtual Machine (JVM) is created, like a separate program, whenever a java program is executed. The JVM essentially runs between the computer and the java program. Java is designed so that any java program can run on any machine. This is because the JVM will interpret the Operating System independent java code and execute the commands needed for the particular Operating System you are trying to run the program on at the time.

Java Program --- Execute some command ---> JVM --- Translate the command for this computer ---> Computer

Java Virtual Machine (JVM) A Java Virtual Machine (JVM) is a set of computer software programs and data structures that use a virtual machine model for the execution of other computer programs and scripts. The model used by a JVM accepts a form of computer intermediate language commonly referred to as Java bytecode. This language conceptually represents the instruction set of a stack-oriented, capability architecture. As of 2006, there are an estimated four billion JVM-enabled devices worldwide. 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

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Do you hava different jre for every editionEESEME of the java platform like jdk does jre too has all the java libraries?

First of all, JDK is Java Development Kit and JRE is java runtime Environment. JDK provides compiler and all the necessary tools to write the code verses JRE provides with the environment in which the java code will run.


What's the difference between JVM and JDK?

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.


JDK version is same as JRE version?

No, not necessarily. JDK stands for Java Development Kit and JRE stands for Java Runtime Environment. They can be of the same or different versions each. It is better if we have two compatible or same versions of JDK and JRE installed for ease of use.


What is difference between jdk and JRE?

Age old question. :) Simply Put: - If you need to execute any java program you need JRE (as the name says "Runtime Env"). - If you need to compile some java code you ll need JDK (as the name says "Development Kit"). One more thing to be noted is JRE will always be shipped with JDK because as I mentioned earlier JDK compiles the code, so if you want to execute the compiled code you need JRE. Hope this helps. . The "JDK" is the Java Development Kit. I.e., the JDK is bundle of software that you can use to develop Java based software. The "JRE" is the Java Runtime Environment. I.e., the JRE is an implementation of the Java Virtual Machine which actually executes Java programs. 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.


Where do you put the javax.comm.properties file in Linux?

/usr/java/<jdk>/jre/lib/


What is jdk?

it is a ducks beak that is used to vomit out fish


Do you need JRE if you already have JDK?

No, the JDK includes the JRE.


What are the different versions of jdk?

There's only the JRE and JDK. the JRE (Java Runtime Environment) is equipped with the basic necessities a client (read: the average home user or business/office employee) computer would need. The JDK (Java Development Kit) contains the JRE plus development tools (i.e. libraries) for software developers to get started to writing applications with Java.


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.


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.


If your java program says no compiler is available what does that mean?

It means you have not installed jdk and jre in your machine...


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/