Try jdk_switcher to switch to oraclejdk8.