Use JAVACMD rather than path-default java to check Java version