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 Query on JVM 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 "Query on JVM" Watch "Query on JVM" New topic
Author

Query on JVM

Gavi Raaghav
Ranch Hand

Joined: Apr 28, 2005
Posts: 82
If i download JDK on my standalone machine and run 2 seperate Hello World programs then whether they will run on seperate JVM's or both will run on the same JVM?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Separate.

Moving to Java in General(Beginner).


[Jess in Action][AskingGoodQuestions]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Each time you type
java ClassName
you start a new JVM.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Gavi Raaghav
Ranch Hand

Joined: Apr 28, 2005
Posts: 82
Is it a new JVM or a new instance of the same JVM?
Hentay Duke
Ranch Hand

Joined: Oct 27, 2004
Posts: 198
How many JVMs do you have installed on your machine? Generally it's just one and a new instance is created of it I believe. Someone here will correct me if I'm wrong.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Query on JVM
 
Similar Threads
is it possible to create a singleton thread class?
JVM Instance
Reflection got at field editing exception
Resin with Apache
I am not getting K&B page 445