1) That depends on where you installed the JVM. It's not always in the same place. If you've installed it in the default location, look in C:\j2sdk1.4.2 (or something like that) or C:\Program Files\Java.
2) I have JRE version 1.4.2_10 installed on Windows XP, and it's about 42 MB. I also have the JDK + API documentation installed, it's about 254 MB.
As far as I know there is not one single executable that you could call "the JVM". If you look in the bin directory of your JDK or JRE installation, you'll find a number of executables, each of them contain parts of the Java runtime environment. There's java.exe for example, the Java launcher, which starts up the JVM and runs your Java program in it. There are also a lot of DLLs.
To be able to run Java programs, you need at least the JRE (Java Runtime Environment). As you can see on the Java home page at Sun, the download for JRE 1.5.0_06 is 16 MB (for Windows).
What do you mean with "ideally, what would be the size of the JVM"?
What is the reason you want to know these things (maybe if you explain, we can answer your questions better).
Joined: Jan 24, 2005
Thanks again Jesper for the response.
I am studying JDK set up on my system and was trying to identify different components of java platform ie JVM and API's.
I have worked on couple of web apps in java(most of the time cut and paste code from other apps since features were same). Now I am studing my applications and preparing a document of environment I worked and problems I faced. So i landed up at JVM part. So i was curious to know how much space JVM takes up!
Also please suggest if you know if there is any other better way to to R&D of an application. adn what points I should be looking for..
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com