You may want to check out:

HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ {SERVICE_NAME}\ Parameters

You can change the vars that get passed to java via an nt service that way. I use it to change the amount of ram I give tomcat on our clusters, along with a few other details. You should be able to pass a class path variable to tomcat with it, since it doesn't appear to pick up your global (local maybe?) variables.

See this page for more info:


http://www.alexandriasc.com/software/JavaService/documentation.html