try {
hostName = InetAddress.getLocalHost().getHostName();
} catch(Exception ex) {
logger.log(Level.WARNING, ex.getMessage());
}
EnvironmentInformation env = new EnvironmentInformation(
hostName, "", // hostID
System.getProperty("os.name"),
System.getProperty("os.version"),
System.getProperty("os.arch"),
"", //systemModel