add better error handling to OTServer.cpp
update for latest version of java