Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JRE,JVM & Plugins

 
Angela D'souza
Ranch Hand
Posts: 469
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
what is difference between JRE, JVM & Java Plugins?
Thanks,
Angela
 
Brett Anthoine
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
JRE means Java Runtime Environment and is the runtime necessary to run a compiled java class. In fact JRE is the entire package with all the necessary files to run a java program, including the :
JVM ,Java Virtual Machine which is part of either the JRE and the SDK (standard development kit), and is used to run the java program. It is like an interpreter.
Java plugins are (I think) all the optional packages like Java3D or the Java Media Framework.
feel free to look at Sun java website for more info.
Bye
[ April 06, 2002: Message edited by: Brett Anthoine ]
 
Anthony Villanueva
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also try out this link.
-anthony
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

JRE means Java Runtime Environment and is the runtime necessary to run a compiled java class. In fact JRE is the entire package with all the necessary files to run a java program, including the :
JVM ,Java Virtual Machine which is part of either the JRE and the SDK (standard development kit), and is used to run the java program. It is like an interpreter.

Hi Brett... what I understood from you is that if you download the JRE you get everything, including the SDK.
I don't know if you read my post "javac is killing me". I had downloaded the JRE and the javac file was not there, I had to download the JDK separately.
So, can you just download the JDK and not bother about the JRE or are they connected to each other?
cheers
 
Brett Anthoine
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andres,
Sorry if I've been confusing on this one. (English is my third language )
You're right the JRE doesn't include the compiler (javac).
The JRE is part of the JDK but can be used alone.
If you look into your Jdk directory , you'll find a directory named JRE...
Hope it's clearer now
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is Brett....
thanks...
cheers
 
Angela D'souza
Ranch Hand
Posts: 469
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to all,
So what I concluded is:
JRE -- Includes JVM, Java Core library files, class file to run the java program
JVM - is a intepreter & includes Class Loader to load the class files and JIT to covert java byte codes to Machine language.
Java Plugins - includes JRE.
SDK - Includes "javac" & "java".
Thanks,
Angela
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic