开发者

Exporting Eclipse project with a reference to native library

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 t开发者_如何学Co 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.


You can have a look at this: How to capture video using JMF, but without installing JMF

It's probably doing what you need.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜