Subhendu Dash wrote:1-Since java tool is used to run a particular .class file.So is it correct to say that java tool is the JVM that executes my .class file?
Subhendu Dash wrote:2-If yes,then at run time which JVM is used ? the one present inside jdk/bin or the present at jdk/jre/bin ?
Subhendu Dash wrote:2-If yes,then at run time which JVM is used ? the one present inside jdk/bin or the present at jdk/jre/bin ?
Subhendu Dash wrote:Just curious to know what executes my class's bytecode ..
Jesper de Jong wrote:The JVM is what's actually executing the bytecode of your program.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
There is something peculiar about that post; I think you have missed some quote tags.Subhendu Dash wrote: . . . I don't know exactly. What exactly do you hope to learn with the answer to this question? . . .
It heard that the java.exe is the JVM (which you say is incorrect) and javac.exe is the compiler. What is correct then ?
Campbell Ritchie wrote:I think you would have to google for a download of the entire code for the JVM; it is open source and therefore freely available. Somebody else might remember where you can find it.
Jesper de Jong wrote:You can find the complete source code for the JVM, JRE and JDK from OpenJDK. But it's a huge project and it's not going to be easy to understand.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors