It seems one VM instance can only run one process (real OS or VMware can run multiple process in it).
Is it right?
It seems one VM instance can only run one process (real OS or VMware can run multiple process in it).
Is it right?
Every instance of your Java Virtual Machine is a single java process running some bytecode. Inside each process, you can handle several threads if you need some concurrency. If you absolutely need various distinct java processes in your application, you can use ProcessBuilder and Process to start a new child process, corresponding to a new JVM instance.