File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Multiple Processes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Multiple Processes" Watch "Multiple Processes" New topic
Author

Multiple Processes

Pradeep Kadambar
Ranch Hand

Joined: Oct 18, 2004
Posts: 148
I tried to do some searching on a query from a friend of mine. If suppose I run multiple instances of a java program (same or different) will there be single or multiple instances of JVM running, assuming all these setup being on the same macine.

I feel that there will be multiple instances of JVM as we specify JVM congigs seperately during program launch.
Pradeep Kadambar
Ranch Hand

Joined: Oct 18, 2004
Posts: 148
If it were to be running on the same JVM .... can we achieve better memory management for the machine.

This may ease the GC process too...
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

A JVM will be initialized whenever someone (script/command line/process) calls the following executable:
<jdk_root>/bin/java
with a valid fully qualified class name.


apigee, a better way to API!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple Processes
 
Similar Threads
what is distributed enviroment?
why these two different folders of jre
Multi Process Configuration
Multiple Processes
Running multiple programs in single JVM