Update to Java 7u51; remove gradle references from PATH