Tomcat und NetBeans

in Tomcat bin dir, edit setenv.bat

set JRE_HOME=C:\Program Files\Java\jre1.8.0_172

exit /b 0