aspose file tools
The moose likes Beginning Java and the fly likes JAVA Virtual Machine Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 24061
    
  13

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: 24061
    
  13

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: 32708
    
    4
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: 19216

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


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

Joined: Sep 11, 2007
Posts: 483
Try this link
jvm
------------------------------
again jvm


Millions saw the apple fall, but Newton asked why.
If you understand, say "understand". If you don't understand, say "don't understand". But if you understand and say "don't understand". How do I understand that you understand? Understand!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32708
    
    4
Why do you keep reopening old threads? Read this FAQ.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JAVA Virtual Machine
 
Similar Threads
ArrayList methods-clear or removeall-for cleaning up objects
Recommended Books for learning JVM Internal Architecture
Java
Measure Free Memory/CUP using Java
Garbage collection and var scope