Apparently gradle doesn't work with JDK 7, including script to set java home