So i am trying to get started with the java media framework. Ive installed the jmf 2.1.1e for windows and i am using eclipse IDE.
I have tried to add the jar files to the projects build path, but i get this error when trying to execute the project:
Exception in thread "VFW Request Thread" java.lang.UnsatisfiedLinkError: JMFSecurityManager: java.lang.UnsatisfiedLinkError: no jmvfw in java.library.path
Not that I ever used JMF, but as far as I know JMF also has native libraries (DLL, SO) which need to be made available to the runtime. Hence the UnsatisfiedLinkError, the JRE is not finding a required native module. When running from Eclipse you will likely need to manually set the proper libraries in the project settings (in the build path).
There is no DLL files in the JMF folder, the lib folder contains only jar files, which i tried to add to the build path, but not working.
When searching online it seems that this is all i have to do, but this jmvfw thing eclipse cant find, i dont know what it is, at least none of the jars is named like this...
Ok, now i figured out why i was missing the dll files in the jmf folder - under the installation i had checked the "move dlls to system32", and for some reason, the dlls was never added to the system32 or to the jmf folder. weird, but trying to install the jmf again, i unchecked this, and now i have all the dlls in the jmf lib folder. But now i have a new exception:
Exception in thread "VFW Request Thread" java.lang.UnsatisfiedLinkError: JMFSecurityManager: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\JMF2.1.1e\lib\jmvfw.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform