Exporting Eclipse project with a reference to native library
Posted
by TacB0sS
on Stack Overflow
See other posts from Stack Overflow
or by TacB0sS
Published on 2010-05-24T14:02:44Z
Indexed on
2010/05/25
3:01 UTC
Read the original article
Hit count: 285
I have an Eclipse project, that uses JMF, I found out I could skip the JMF installation process and still to use the CaptureDeviceManager of the JMF, and to receive the list of devices if I could point my project to the native lib of the JMF.
I've managed to add the native lib to the IDE run/debug, but once I export the application to an external runnable Jar, the application cannot find the native lib.
the files are located in c:\JMF*.dll
I tried to add the folder path to the environment variable in windows - didn't work.
I tried to add them into another Jar and add it to the project - didn't work.
I tried to add the files into the project - didn't work.
I tried to add the path to the class path - didn't work.
I tried to add the path to the library path - didn't work.
does someone have any sort of a solution?
Thanks in advance, Adam Zehavi.
© Stack Overflow or respective owner