Search code examples
javavmware-player

run vmware-player image with java


Is there way to run specific VMWare-player image (assuming that it was created beforehand, and name is known) from java application? Maybe there exist some libs already, but i wasn't able to find them. Or better if some one could post code snippet.

In other words i want invoke VMware player to run a image from java.


Solution

  • If this not for production and realtime systems, it can be done by kicking VMWare commands from java.lang.Runtime
    Some thing like: Runtime.getRuntime().exec("cmd /c start abc.bat");