Cannot find JDK

ok so I have my JAVA_HOME set to the home path for the redhat jdk-8 but still get the error that its not installed and cannot be started.

what else do I have to do to get this to work?
I have looked through the other posts but have yet to find a solution.
this is on windows 10 btw.