This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Just ran in to a bit of confusion figuring out what is the exact diference between JVM and JRE.
I mean, A JVM is a VIRTUAL MACHINE, that sits on top of your Software Platform and Simulates the characteristics of the underlying hardware/software. A JRE on the otherhand is the execution environment that a Java Program executes within... If This is correct then Is a JRE built into a JVM ? Also provide better explanation about JVM and JRE...
Can Somebody help me out on this plz...!!
If your new Big Idea doesn't scare the hell out of you, <br />it's probably not a "new Big Idea".
I had confusions regarding the JRE and JVM and I found this thread here. I have JDK 1.6 installed on my system. What will "javac -target 1.5" do? Will the compiled code run on a machine with JRE 1.5 ? [ December 02, 2008: Message edited by: abhinav sinha ]
Joined: Oct 13, 2005
Please don't reopen such an old thread, particularly since this is a new question. I am not sure, but I think that will mean it will run on a JDK5 machine, yes, but you need to ensure you don't use any classes or methods introduced in Java6 otherwise you will get a NoSuchMethodError or similar.
Best to try a tiny application and see what happens.