explicit java version setup for better gradle compile error messages