If you do a search on this forum with the keywords 'environment space'
you should find quite a few threads that discuss this.
In a nutshell, by default, win98 doesn't have allot enough memory for the environment variables needed to run Tomcat. Once you increase this, Tomcat will run fine.