if (!file.exists()){
throw new RuntimeException(
Services.getMessage("interpreter.path.not.found", interpreterPath));
}
EnvironmentVariableContentProvider envVarsProvider =
new EnvironmentVariableContentProvider();
EnvironmentVariable[] envVars = envVarsProvider.getVariables();
LibraryLocation[] libs = type.getDefaultLibraryLocations(
file, envVars, new NullProgressMonitor());
IStatus status = type.validateInstallLocation(
file, envVars, libs, new NullProgressMonitor());