String appPath = null;
if (myHost.osType().equals("UNIX")) {
appPath = myApplication.unixPath();
} else if (myHost.osType().equals("WINDOWS")) {
appPath = myApplication.winPath();
} else if (myHost.osType().equals("MACOSX")) {
appPath = myApplication.macPath();
}
if (!safeEquals(myInstance.path(), appPath)) {