Hello Everybody,

I am posting a SOLUTION here not PROBLEM!

My Java programs for capturing video from webcam using Java Media Frameworm (JMF2.1.1e) was not running in Windows 7. It was failed to detect webcam.

Now after struggling for more than a year, I have found the solution of this stupid problem.

Here is the stupid solution of this stupid problem:

1. Install JMF on your Windows 7 PC normally. Suppose your JMF installation dir is : C:\Program Files\JMF2.1.1e.

2. Create a file C:\WINDOWS\java\.jmfdir, open .jmfdir file and write following line in this file

That all. Enjoy!!!

Gurmeet Singh