In a Unix box, if there are multiple JAVA processes(programs) spawned by a different shell scripts, do they share a same JVM or they use seperate JVMs?
If you simply call Java programs via shell scripts then each shell script will start its own JVM. You can easily check this with the "pstree" command which will show you that the started Java program is a child of the shell script used to start it.