> quick question. Is java.exe the java virtual machine?

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Hi i am new to java program,
As Daniel Pitts said that it might be implemented as DLL. first of all
is it true, if it is true then what is dll name else which file is
refer as JVM
On Dec 21, 5:31 am, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> > quick question. Is java.exe the java virtual machine?
>
[quoted text clipped - 6 lines]
> Roedy Green Canadian Mind Products
> The Java Glossaryhttp://mindprod.com
Lew - 26 Dec 2007 14:57 GMT
> Hi i am new to java program,
>
> As Daniel Pitts said that it might be implemented as DLL. first of all
> is it true, if it is true then what is dll name else which file is
> refer as JVM
Please do not top-post.
The answer to what the name is of the DLL depends on the maker of the JVM.
No file can properly be labeled "the JVM". The JVM exists only in memory,
when it's running. On my Fedora 7 box with Sun (and other) Java
installations, the executable 'java' contains the code for the JVM, but like
all executables has to link in to various systems modules to execute. Until
that loading and linking occurs, there is no JVM.
Should all the shared files and modules that provide system calls be
considered part of the JVM? Most likely not - they are used by all kinds of
executables, so they don't properly belong to them, but to the operating
system. Can the JVM run without them? Certainly not. So does the 'java'
executable contain all the code for the JVM? No, just the part specific to it.
So there is no file that one can refer to as "the JVM". The best I can think
of is to refer to 'java' as the executable that invokes the JVM.

Signature
Lew