specify versions of jdk; renamed script into before_script