The JAVA_HOME environment variable needs to point to the installation directory on your system that contains the bin/ directory where the java executable physically resides, and the lib/ directory which contains the core java libraries and properties files. If the answer is a directory path, you're good to go. To check, on the Windows command line do:
Sometimes your JAVA_HOME environment variable will already be set for other reasons.