Add JDK8. Change git repository parse to handle subdirectories and paths better