native library in a web project [message #208703] |
Mon, 18 February 2008 15:13 |
Eclipse User |
|
|
|
Originally posted by: yair.sundaysky.com
hi all
i m using a jar in my web project which uses a native library. in the
build path i m adding the jar and edit its "native library location" with
the path of the library. this works fine for an application (run as java
aaplication). When i use it in a web application, the native library is
not working. how can make the web application know of the native library?
thanks
yair
|
|
|
|
|
|
Re: native library in a web project [message #208885 is a reply to message #208868] |
Thu, 21 February 2008 08:05 |
Eclipse User |
|
|
|
Originally posted by: yair.sundaysky.com
> I think the simplest way is to open the Run Configuration for the Tomcat
> server and go to the Environment tab. Manually specify a PATH
> environment variable that includes all paths needed to find the desired
> DLLs. Since this setting would replace the default PATH value, include
> any additional paths needed by Tomcat. If you haven't customized your
> Tomcat, there shouldn't be any additional paths needed. The PATH
> setting will get added to the "java.library.path" System property and
> the JVM should be able to find your DLLs.
> Cheers,
> Larry
thanks for your answer.
There is no way to specify this in the web-project properties (as in a
regular java project)?
i guess i won't have any choice but to add a little "readme" file to the
project, explaining where to put the dlls when installing...
thanks
yair
|
|
|
Powered by
FUDForum. Page generated in 0.03021 seconds