Peter Johnson wrote:
Just an side, but setting the CLASSPATH env var globally is a very bad idea. At some point some Java code will break and you will spend countless hours tracking down the issue only to find out that is was because you set CLASSPATH globally and the Java app was therefore picking up the wrong classes.
Thank you for the information Peter, and for saving me countless future hours. I have removed the classpath from my environment variables.
I have been wondering, and perhaps you could answer, how to deploy and use my war and jar files.
I'm working on a
Tomcat application.
Would it be best to deploy my jar files for db connections to $CATALINA_HOME\lib and then use $CATALINA_HOME\lib for my classpath, or some other configuration?
Thank you for your time.
Lou