My professor asked me to create multiple JVM's in JAVA, which is a start of my final year project in volunteer computing, but I am unable to find some solution for creating JVM's in JAVA, basically I want to build a VMM (virtual machine manager). I have tried searching on it, but I found something like, creating JVM’s through command line. Can anyone tell me, from where I can start? Best Regards.
there's no API in the jdk to spawn an extra jvm (that i know of). having said that, you could always use ProcessBuilder to launch a java process (same as you'd use to launch any other executable)
EDIT for starting new java processes remotely you can go with some sort of ssh (or any other remote0shell library) or, if your environment is managed, you could look at stuff like puppet or chef (which are systems used to manage large groups of computers) - which could give you not only the ability to launch but also to monitor and shut down.