// Make sure rpm is actually on the system
ProcessExecution processExecution = new ProcessExecution("/usr/bin/which");
processExecution.setArguments(new String[] { "rpm" });
processExecution.setCaptureOutput(true);
ProcessExecutionResults executionResults = systemInfo.executeProcess(processExecution);
String capturedOutput = executionResults.getCapturedOutput();
rpmExecutable = (((capturedOutput == null) || "".equals(capturedOutput)) ? null : capturedOutput.trim());
}