aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes JMF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JMF" Watch "JMF" New topic
Author

JMF

AKEEL MALIK
Greenhorn

Joined: Feb 03, 2005
Posts: 26
vfw package not found
Author: AK_47 Feb 25, 2005 3:55 AM


Ive been given JAVA webcam code but when I compile the program it gives the following error package com.sun.media.protocol.vfw does not exist.

Even though i've set up JMF2.1.1e all format version, all the other media packages are found.

This is the import code thats being used
import com.sun.media.protocol.vfw.VFWCapture; // JMF 2.1.1e version

Can some1 please tell me why this package does not exist.
Ganesh Phapale
Greenhorn

Joined: Dec 14, 2004
Posts: 21
there might be 2 reasons :
1. package is not properly installed / placed
2. the package might be damaged

to be of sure u can extract ur "package.jar" file and trace out the folder structure.
u should get ur package properly placed in the folder structure.
if ur code & the folder struture is right then it should get that package.
pls try.
AKEEL MALIK
Greenhorn

Joined: Feb 03, 2005
Posts: 26
Ive downloaded the package again form the java.sun site and have the JMF files to work with JCreator in windows but it still doesnt seem to find theis single package.
AKEEL MALIK
Greenhorn

Joined: Feb 03, 2005
Posts: 26
I checked my "package.jar" file and found that this file is not there.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JMF