wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMF
 
Similar Threads
J2sdk1.4.0
problems installing JMF on windows
Compiling Client
I need help with trying to play a mp3 file with java!
Unable to use swing libraries