cancel
Showing results for 
Search instead for 
Did you mean: 

JVM and JRE

bijoy k
Advisor

JVM and JRE

Hi Gurus...

Just need to understand , whether JVM and JRE are both same or different products.

How can I install JVM in a hp-ux box, Do I need to have JRE pre-installed in the box ?

Quick response to this query will be much appreciated!!!

Many Thanks in Advance..

Bijoy
4 REPLIES
Robert-Jan Goossens
Honored Contributor

Re: JVM and JRE


Hi,

JVM = Java virtual machine

* Java SE 6 Runtime Environment 6 (JRE)
The JRE provides the libraries, HotSpot Java virtual machine, and other components necessary for executing a Java application. You may include the JRE with your Java applications as long as you adhere to the HP software license agreement and supplemental restrictions provided in the license file. One requirement is that you must include all of the runtime environment files provided by HP.

The JRE is included in the JDK download package and also provided as a separate product. Both the Runtime Plug-in and the Java Web Start technology are packaged with the JRE.

* Java SE Development Kit 6 (JDK)
The JDK is a superset of the JRE and includes additional tools such as compilers and debuggers necessary for developing applets and applications. The JDK download package includes the JRE.

http://docs.hp.com/en/JDKJRE60RN/jdk_rnotes_6.0.02.html

Regards,
Robert-Jan
bijoy k
Advisor

Re: JVM and JRE

Thanks Robert for your quick response..,

I would like to know , what is JVM in deep and how it relates to JDK or JRE...

Best Regards..

Bijoy
Robert-Jan Goossens
Honored Contributor

Re: JVM and JRE

Hi Bijoy,

Have a look at these pages for a better view of the JDK/JRE/JVM differences and connections.

http://lankireddy.blogspot.com/2007/09/jdk-jre-jvm-differences.html

http://www.javabeat.net/qna/67-wat-is-the-difference-between-jrejvm-and-jdk/

Regards,
Robert-Jan
Steven E. Protter
Exalted Contributor

Re: JVM and JRE

Shalom,

Not the same thing. Both provide java services.

Java Virtual machine supports an application environment, and JRE supports binary objects, programs that require Java.

Normally I deploy them in tandem.

Also understand that JDK or Java Development Kit includes JRE plus development tools.

Which you use depends on the needs of the application you are running.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com