Added java version and reachable internet connection checks at start.