Add .dll to java.library.path in Eclipse project
I think the better way is:
- Create a folder under the project, for example dll.
- Copy/paste all dll files into this folder.
- In project -> Properties -> Java Build Path -> Source, click and expand the source details.
- You will see Native library location, click/highlight it.
- Then click edit on the right, click workspace again. You can see the dll folder under the project.
- Select it and click OK, OK. You will see the dll is added in the Native library location.
Comments
Post a Comment