Gonna necro this a bit, sorry bout this, mods do your thing. But, the you most likely have the correct java version but not the correct JDK version. Search Java JDK 8, find the latest correct version for your system, then download it. You will require an oracle account for this, if memory holds, so just make a spoof account. That should work, if your java version is correct.