Where can I put jar files so they automatically get searched?
Use the java.ext.dirs property. On my machine, c:\jdk1.3\jre\lib\ext is the java.ext.dirs directory; i.e. if I put a jar in there, I don’t have to put it in the CLASSPATH. I think this is called the “Extensions directory”. Eric Burke calls this the “optional packages directory” [ Java and XSLT, p. 375]. BTW, when I do this, I have to restart Tomcat to get it to notice the new jars (otherwise, I get NoClassDefFoundError errors). You can set the java.ext.dirs from the command line too; e.g.: java -Djava.ext.dirs=DIRLIST Hello I think this was added in Java 1.5.