Author Topic: What is difference between JVM and JRE?  (Read 107 times)

0 Members and 1 Guest are viewing this topic.

Offline CyborgRepublic

  • Full Member
  • *
  • Posts: 203
  • Karma: +0/-0
    • View Profile
What is difference between JVM and JRE?
« on: November 04, 2008, 12:06:45 AM »
What is difference between JVM and JRE? Am bit confused.

Techronnati | where technology never sleeps

What is difference between JVM and JRE?
« on: November 04, 2008, 12:06:45 AM »

Mountain View

Offline Transformer10

  • Full Member
  • *
  • Posts: 104
  • Karma: +0/-0
    • View Profile
Re: What is difference between JVM and JRE?
« Reply #1 on: November 04, 2008, 12:07:58 AM »
To answer your question i hope you have understanding about some architecture in java.

   
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.

Another Answer:

The Java Runtime Environment (JRE) is a set of library files and the java executable that is kicked off in order to run any java program.


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

Offline CyborgRepublic

  • Full Member
  • *
  • Posts: 203
  • Karma: +0/-0
    • View Profile
Re: What is difference between JVM and JRE?
« Reply #2 on: July 24, 2014, 09:23:38 AM »
Thanks transformer10  how about JDK? Ano difference nun?

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
167 Views
Last post February 09, 2012, 05:23:45 AM
by avarofurbin
2 Replies
176 Views
Last post September 17, 2008, 11:54:55 AM
by CyborgRepublic
0 Replies
116 Views
Last post September 27, 2008, 06:24:02 PM
by rpmolecule
0 Replies
127 Views
Last post October 25, 2008, 08:16:36 AM
by Transformer10
1 Replies
106 Views
Last post November 08, 2008, 05:57:46 PM
by MrSpecialist

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.