Jump to content
Sign in to follow this  
vipul20_j

What is the difference between JRE and JVM

Recommended Posts

i often get confused wats the difference between the two.JVM translates the byte code into machine code then wat is JRE used for??want to know the difference between the two?Difference Between Jvm And Jre

Edited by vipul_vj
  • Like 1

Share this post


Link to post
Share on other sites

I look at the JVM as a virtual processor.

Share this post


Link to post
Share on other sites

when we compile our source code file with .java extension it is converted to byte code. JVM is used to convert the byte code into machine code.While JRE is JVM and some additonal packages.JRE = JVM + Java Packages Classes(like util, math, lang, awt,swing etc)+runtime libraries.In other words JVM is a Part of JRE.

Edited by vipul_vj

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...