out.error("\"info system\" command does not take any parameters");
}
else
{
Iterator itRuntime = Utils.getRuntimes(loadedImage);
ManagedRuntime mr;
String output = "";
try {
output += "\nSystem:\t\t";
output += loadedImage.getSystemType() + "\n";
output += "System Memory:\t";
output += loadedImage.getInstalledMemory() + " bytes\n";
output += "Virtual Machine(s):\n";
int count = 1;
while (itRuntime.hasNext()) {
mr = (ManagedRuntime)itRuntime.next();
output += "\tRuntime #" + count + ":\n\t\t";
output += mr.getVersion() + "\n";
count++;
}
} catch (DataUnavailable d) {
} catch (CorruptDataException e) {