Error "Failed creating java C:\Program Files\Java\jre1.8.0_152\bin\server\jvm.dll"

Run Tomcat8W //ES//FormsWindowsService 

You can change the JDK or JRE location using the following steps:
  1. open the terminal or cmd.

  2. go to the [tomcat-home]\bin directory. 

    ex: c:\tomcat8\bin

  3. write the following command: Tomcat8W //ES//Tomcat8

  4. will open dialog, select the java tab(top pane).

  5. change the Java virtual Machine value.

  6. click OK.

note: in Apache TomEE same steps, but step (3) the command must be: TomEE //ES