Re: How to add -Djava.library.path to tomcat

2007-06-26 Thread Filip Hanik - Dev Lists
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 Jav

How to add -Djava.library.path to tomcat

2007-06-25 Thread Yifan (Eric) Jiang
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