File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes JAVA Virtual Machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JAVA Virtual Machine" Watch "JAVA Virtual Machine" New topic
Author

JAVA Virtual Machine

Phillipe Rodrigues
Ranch Hand

Joined: Oct 30, 2007
Posts: 165
Hello,
Please do let me know the use of JAVA Virtual Machine?Whats its use?Where does it reside?


Thanks,
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

It's the program that executes Java bytecode -- i.e., java.exe.


[Jess in Action][AskingGoodQuestions]
Phillipe Rodrigues
Ranch Hand

Joined: Oct 30, 2007
Posts: 165
Can there be an instance of JVM?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

Originally posted by Rakesh Mestry:
Can there be an instance of JVM?


"An instance of the JVM" would generally refer to one copy of the running program; you can have many copies of java.exe running at once, so indeed, you can have many instances of the JVM on one computer.

Technically, some JVM implementations might allow you to have more then one instance inside a single program, although Sun's JVM implmentation can't do that.
Phillipe Rodrigues
Ranch Hand

Joined: Oct 30, 2007
Posts: 165
Do environment variables have a relation with JVM.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38851
    
  23
Rather flattering little history of the JVM here, and more details on Wikipedia.

The environment variables (well, the PATH) tell the OS where to find the JVM.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19696
    
  20

Don't forget CLASSPATH. It informs the JVM where to look for classes by default.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 498

Try this link
jvm
------------------------------
again jvm


Millions saw the apple fall, but Newton asked why.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38851
    
  23
Why do you keep reopening old threads? Read this FAQ.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAVA Virtual Machine