I'm pretty sure. Editing the registry is possible, so is editing the startup scripts. That doesn't mean its advisable, or portable.


Tomcat has a pretty robust ClassLoader architecture specifically designed to load classes that it needs. Why not use it instead of mucking about with the registry and trying to force a new/different classpath?

John

John Corrigan wrote:

Are you sure about that, John?  What about the following registry key?
Aren't the environment variables only used during the service setup process?

HKEY_LOCAL_MACHINES
  SYSTEM
    CurrentControlSet
      Services
        Apache Tomcat 4.1
          Parameters  --  JVM Option Number 0:
REG_SZ: -Djava.class.path=C:\usr\local\Apache\Tomcat
4.1.24\bin\bootstrap.jar


It seems like the easiest way to add to the classpath, if that is really want you want to do Paul, is to edit the registry.




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to