If you are using the JAVA Runtime, you must set JRE_HOME system variable.
Go to the control panel and select "Advanced System Settings"
In the System Properties window, click the Environment Variables button at the bottom right.
In the "System variables" section of the Environment Variables window that opens, ensure that the JRE_HOME environment variable points to the following location: C:\Program Files\Java\jre<version>.
If this environment variable does not exist, add it to the list by selecting NEW under System variables.
Click OK to close the Environment Variables window.
Click Apply to close the System Properties window.
Restart the server for the changes to take effect.