Ah okay, I was trying to use the JRE file, not the JDK. That fixed it, thank you.