vipul20_j Posted July 6, 2011 Share Posted July 6, 2011 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 Link to comment Share on other sites More sharing options...
trinistorm Posted July 6, 2011 Share Posted July 6, 2011 I look at the JVM as a virtual processor. Link to comment Share on other sites More sharing options...
vipul20_j Posted July 6, 2011 Author Share Posted July 6, 2011 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.