Servlet Development Guide : PART IV Appendices : Appendix C Library Loading Reference
Appendix C Library Loading Reference
Environment Variables
Table 17 lists the environment variables that different operating systems use to locate libraries at run time. Libraries for servlets, filters, and listeners must be located in a directory contained in this environment variable:
Table 17 – Environment variables for run time library loading 
Operating System
Environment Variable
UNIX
LD_LIBRARY_PATH
Windows
PATH