set it in catalina.bat or catalina.sh

or you can define setenv.sh/setenv.bat in the bin directory with the line
set JAVA_OPTS=-Djava.library.path=.... (win)
and similar for unix

Filip


Yifan (Eric) Jiang wrote:
Hi,

I would like to load a library (.dll in windows and .so in linux) in a
Java application, so I have to add the path of the library to
LD_LIBRARY_PATH (Linux) or PATH (Windows). In addition, I also need to
add -Djava.library.path=. However this is only for a standalone java
application. But I'd like to deploy these applications as Axis web
services, so how can I do the similar thing in Tomcat? i.e. how can I
add -Djava.library.path in tomcat (in both Windows and Linux).

Thanks

Eric




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to