Hi, JRE contains all the executables and files which are needed for the java to run..JVM is the virtual machine which actully executes the compiled java file which is in the bytecode format and that is why java is platform independent. JVM is inside the JRE. regards, Pradeep
Hello Tom Lee, I'm not sitting tight in the saddle but I think this shouldn't be wrong: The JVM (Java Virtuel Machine) is part of the JRE (Java Runtime Environment) (and so also of the JDK - Java Development Kit). The JVM is the 'processor' which processes your program instructions (your compiled bytecode). The JRE offers all classes (like 'String' for example) needed to enable the JVM to run your program.
@all: Please correct, if I'am wrong
Something about .... going for a swim. With this tiny ad ...