Hi to everybody,
This is my first post on this group, so please be patience on this discussion,
Initially i need to know the difference between a JVM and a JRE? can anyone explain this.
JVM :- Java Virtual Machine.
JRE :- Java Runtime Environment.
The names are self explainatory. Even then I try to explain them. JRE includes every thing that is part of java when it is running the program. That is its runtime environment. Like you if you say how is your office environment, that includes every thing that is in context of your office. In the same way java Runtime environment is everything that is in context of java runtime.
JVM is part of JRE. It interprets the class files you compiled by java compiler, and converts them into machine understandable form and passes those instructions to the machine. It is Just In Time(JIT) compiler.
I think it must clear your doubts. for more information search google.