public String writeDebug() {
public static String writeDebug() {
  public String writeDebug() {    // Cougaar version, build info    StringBuffer result = new StringBuffer();    String version = null;    long buildtime = 0;    try {      Class vc = Class.forName("org.cougaar.Version");      Field vf = vc.getField("version");      Field bf = vc.getField("buildTime");      version = (String) vf.get(null);      buildtime = bf.getLong(null);    } catch (Exception e) {}    result.append("CSMART ");    if (version == null) {      result.append("(unknown version)\n");    } else {      result.append(version+" built on "+(new Date(buildtime)) + "\n");    }        String vminfo = System.getProperty("java.vm.info");    String vmv = System.getProperty("java.vm.version");    result.append("VM: JDK "+vmv+" ("+vminfo+")\n");    String os = System.getProperty("os.name");    String osv = System.getProperty("os.version");    result.append("OS: "+os+" ("+osv+")\n");    // Some properties valus: install.path, config.path,    // dbMode, isMySQL    // What tools are open    // whats loaded in the workspace    // results directory setting    // but probably not the cougaar.rc contents    return result.toString();  }