Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2007

Tip: Looking for answers? Try searching our database.

jvm

Thread view: 
nick - 19 Dec 2007 16:52 GMT
hi all,

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

thanks
Daniel Pitts - 19 Dec 2007 17:26 GMT
> 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.

Signature

Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>

Roedy Green - 21 Dec 2007 00:31 GMT
>          quick question. Is java.exe the java virtual machine?

It depends on how picky you are about definitions how to answer that.
When you run java.exe, a JVM is created.  There are other ways to get
a JVM that don't involve java.exe.

see http://mindprod.com/jgloss/jvm.hthl
http://mindprod.com/jgloss/javacexe.html
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

srinivas.itb@gmail.com - 26 Dec 2007 13:52 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

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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.