Previously gradle would run using the default Java version. This looks for Java 8 using `alternatives` and sets JAVA_HOME to the corresponding directory prior to launching gradle. Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>