原來(lái),在eclipse.c中,有查找shipped VM的代碼,eclipse.exe會(huì)先查找有沒(méi)有自帶的JVM,有的話就用它啟動(dòng): /* Find the Directory where the Eclipse PRogram is installed. */ programDir = getProgramDir(); ...
/* If the user did not specify a VM to be used */ if (vmName == NULL) { /* Determine which type of VM should be used. */ vmName = ((debug needConsole) ? consoleVM : defaultVM);