My JAVA_HOME
was pointing to c:/jre
directly. So I changed it to C:/java/jre
because it was confused to pick up which one to use, so I changed it to the specific one and it works for me. Note: It is better to have only one JRE install on your machine