| Author |
Two instances of JVM
|
swapnil dangore
Ranch Hand
Joined: Jun 05, 2006
Posts: 46
|
|
Hi all, Could anybody tell me , what does it mean
Running two instances of JVM on same machin
This statement , i read (I forgot the source) regarding Threads
|
Cheers<br />-------------<br />Swapnil<br /> <br />SCJP5-81%<br /> <br />"Dictionary is the only place where Success come before Work"
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Not an advanced question. Moving...
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32830
|
|
It is quite easy. Open Command Prompt, navigate to wherever you have your Java programs, run a program. Open Command Prompt, navigate to wherever you have your Java programs, run a program. If you can persuade your programs to keep running long enough (if you need keyboard input for example), you will have two JVMs running simultaneously. More difficult. Each JVM opens a Socket (or the application on each JVM connects to a Socket), and the two applications send messages to each other.
|
 |
 |
|
|
subject: Two instances of JVM
|
|
|