Add .dll to java.library.path in Eclipse project



I think the better way is:
  1. Create a folder under the project, for example dll.
  2. Copy/paste all dll files into this folder.
  3. In project -> Properties -> Java Build Path -> Source, click and expand the source details.
  4. You will see Native library location, click/highlight it.
  5. Then click edit on the right, click workspace again. You can see the dll folder under the project.
  6. Select it and click OK, OK. You will see the dll is added in the Native library location.
That's it. You do not need to manually change anything in configuration.

Comments

Popular posts from this blog

How to draw an overlay on a SurfaceView used by Camera on Android?

Create EditText with dropdown in android

Android TCP Connection Chat application