I think using stable version is better than using latest version of jdk. Because it happens a lot of times that latest version isn't supporting all the functionalities and causing errors. So I would suggest, go with JDK 8 and install Selenium Webdriver version compatible with jdk8. I hope this would help.