That isn't literally the "PATH", which is what is searched to find executable programs.
However, Tomcat does need to know the directory path of a Tomcat JDK, and it gets that information from one of the 2 environment variables you named.
You can set JAVA_HOME like this:
Note that quotes are REQUIRED because of the space in the name "Program files". Also, your actual installed JDK location and version will probably NOT be this exact location - this is only a sample.
You can also set JAVA_HOME system-wide using the Windows Control Panel/System applet. There is an "Environment" button that brings up a dialog. It has 2 parts. One is for setting environment name/value items for the current user, the other one sets for all users. Either one can be used. It won't update currently-open command windows, but new command windows will reflect the changes. Use the command: "echo %JAVA_HOME%" to see.
An IDE is no substitute for an Intelligent Developer.