/** Check whether there is an update to deploy. If there is, do it. */
private void deployUpdate() {
boolean started = false;
boolean success = false;
try {
MainJarDependencies deps;
synchronized (this) {
if (disabledThisSession) {
String msg = "Not deploying update because disabled for this session (bad java version??)";
Logger.error(this, msg);
System.err.println(msg);