This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes Need help on JVM!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Need help on JVM!!" Watch "Need help on JVM!!" New topic
Author

Need help on JVM!!

Hema lata
Ranch Hand

Joined: Jan 24, 2005
Posts: 34
Hi all,

please let me know

1)what is the path to JVM on windows 2000.
I am using JDK 1.4.

2) what will be the size of JVM

thanks & regards
hema
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14195
    
  20

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.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Hema lata
Ranch Hand

Joined: Jan 24, 2005
Posts: 34
Thanks Jesper,
I still need more specific details..
I could have been more specific in my question..

i wanted to know in which subfolder exactly the JVM exists and what is it's file extension.? I have installed JDk under c:\

2)ideally what would be JVM file size.

thanks
hema
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14195
    
  20

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).
Hema lata
Ranch Hand

Joined: Jan 24, 2005
Posts: 34
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..
 
GeeCON Prague 2014
 
subject: Need help on JVM!!