jvm

D

Daniel Pitts

nick said:
hi all,

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

thanks
Kind of.

There are two things wrong with your assumptions. First, Java.exe on
Windows is the program that activates the JVM (which I believe is
implemented as a DLL)

Second, on Linux, Mac OS, and Solaris, there aren't .exe files.

So, the quick answer is yes, the long answer is that java.exe is one way
to start a JVM.
 
S

srinivas.itb

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
 
L

Lew

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top