File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes dll insidethe classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "dll insidethe classpath" Watch "dll insidethe classpath" New topic

dll insidethe classpath

moshi cochem
Ranch Hand

Joined: Nov 10, 2009
Posts: 91
I'm using eclipse to create a web app.
I have 2 dlls in my app , but it is not recognizes them, although I put them in the "lib" directory.
I thought to insert them to the class path, but I dont know how.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

What is Java supposed to do with a DLL? Are you using JNI?

[Asking smart questions] [About Bear] [Books by Bear]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Native libraries need to be in the PATH, not the CLASSPATH.
moshi cochem
Ranch Hand

Joined: Nov 10, 2009
Posts: 91
I mean the "java buile path" in the eclipse.
Could you tell me if there is a way to do it ?
I agree. Here's the link:
subject: dll insidethe classpath
It's not a secret anymore!