Changed jdk version to 1.8.