Here you can find the source of getJVMPath()
public static String getJVMPath()
//package com.java2s; //License from project: Open Source License import java.io.File; public class Main { public static String getJVMPath() { return System.getProperty("java.home") + File.separator + "bin" + File.separator + "java"; }/*from ww w . ja v a 2s . c o m*/ }