I had the same message, but i saw a previous thread here and i found that i don’t had the jdk properly installed on IS and then i i needed to configure the Java_Root variable (server.bat) pointing to the jdk which has to be installed on the IS.
The setting the Java_Root along with the path variable helps i also faced a similar problem of the nature but after i changed the Java_Root variable alone it did not work.
Then i changed my path variable to point to the jdk directory and it works.