aspose file tools*
The moose likes Beginning Java and the fly likes Shall we run two Java Virtual Machines(JVM) in a Single Machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Shall we run two Java Virtual Machines(JVM) in a Single Machine" Watch "Shall we run two Java Virtual Machines(JVM) in a Single Machine" New topic
Author

Shall we run two Java Virtual Machines(JVM) in a Single Machine

Jalli Venkat
Greenhorn

Joined: Aug 10, 2006
Posts: 27
Is it possible to run two Virtual Machines(JVM) in a Machine?


venkat
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Yes, JVM is just a process that runs on the system. If you have enough memory you can run any number of JVM's on a single physical machine.


apigee, a better way to API!
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14352
    
  22

If you start two Java programs, you'll have two JVMs running.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Shall we run two Java Virtual Machines(JVM) in a Single Machine