return success;
}
private CommandLineBuilder createStartCommandLine(JVMConfig config) {
String java = new File(config.getJavaHome(), "bin/" + JAVA_COMMAND).getAbsolutePath();
CommandLineBuilder cmdLine = new CommandLineBuilder(java);
if (config.getBootClasspath() != null) {
cmdLine.append("-Xbootclasspath").append(config.getBootClasspath());
}
if (config.getOptions() != null) {
cmdLine.append(config.getOptions());
}
cmdLine.append("-D" + ConfigurationUtils.LOGGING_CONFIG_FILE + '='
+ ConfigurationUtils.getLoggingConfigFile());
cmdLine.append("-cp").append(config.getClasspath());
cmdLine.append(config.getMainClass());
return cmdLine;
}