This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Where is the the virtual machine of the JDK? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Where is the the virtual machine of the JDK?" Watch "Where is the the virtual machine of the JDK?" New topic
Author

Where is the the virtual machine of the JDK?

Andy Jack
Ranch Hand

Joined: Nov 22, 2012
Posts: 257
If javac is the compiler, then what is the JVM ? Is it java.exe ?


Java Newbie with 72% in OCJP/SCJP - Super Confused Jobless Programmer.
I am a "newbie" too. Please verify my answers before you accept them.
Steve Fahlbusch
Bartender

Joined: Sep 18, 2000
Posts: 557
    
    7

this may help (first entry after google on java jvm component) jvm
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
Yes. That's just the executable, though. To do anything useful it would also need the class libraries, which -if memory serves- are in rt.jar and classes.jar (the files might differ from JVM implementation to JVM implementation).


Ping & DNS - my free Android networking tools app
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3419
    
  12
Actually java.exe is just a JVM launcher. The JVM binary is a library (jvm.dll on Windows) that you can find in the bin/client or bin/server directory of your JRE installation.

Joanne
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Where is the the virtual machine of the JDK?