Updated JDK version to 1.7 40

Updated command line for server.