File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Java in General
JVM and JRE
Joined: Oct 24, 2005
Aug 03, 2006 23:08:00
Recently I was asked about the differences between JRE and JVM in an interview. All this while I thought I was pretty much aware of it, but I didn't had a proper technical answer to it.
Any technical and important differences that any one can share ??
Jesper de Jong
Joined: Aug 16, 2005
Aug 04, 2006 01:31:00
So what did you answer yourself?
The JVM and the JRE are two different things. You could compare it to a car. The JVM is the engine that interprets and executes Java bytecode.
But like with a car, if you want to go somewhere, you need more than just an engine. You also need a chassis, wheels, a steering wheel, etc.
The JVM is the engine and the JRE is the complete car - the engine plus all the things around it that you need to run Java programs.
Java Beginners FAQ
JavaRanch SCJP FAQ
The Java Tutorial
Java SE 7 API documentation
- My blog about Scala
Joined: Oct 24, 2005
Aug 04, 2006 02:08:00
i also answered almost what you answered. Your analogy was good, but i was looking for some technical differences. What is chassis, steering etc in JRE ? I have read both JVM and JRE being used synonimously at a lot of places.
What do other members think about this.
Joined: Mar 22, 2005
Aug 04, 2006 02:38:00
Most important amongst the extra bits of the JRE are probably the class libraries. Smaller ones would be the Java Web Start and Java Plugin components:
[ August 04, 2006: Message edited by: Ulf Dittmer ]
Ping & DNS
- updated with new look and Ping home screen widget
I agree. Here's the link:
subject: JVM and JRE
Clarifications in Java
JVM , JDK, JRE
SDK JRE vs J2EE JRE?
Beginners' FAQ Ideas
start/stop Tomcat 7 windows service on 64-bit results in error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014