Multiple Java programs running on the same machine
<p>Ok I just need to understand this thing. I have a JVM installed on my machine. If I develop 2 programs (2 jars with their own main classes) and run them, will they be both running on the same JVM? </p>

<p>If they both run on same JVM instance, how can I make them communicate? </p>

<p>The system I am currently working on has many components installed in one machine but communicate with each other using RMI. Isn't it impractical for these components to use RMI when they are all running on one machine?</p>
