Hi, i'm trying to use JMF with eclipse. I have downloaded the software from:

JMF 2.1.1e Software

I have added the all the jars in the lib folder to the eclipse class path by going help>going to: "Java Development User Guide > Reference > Preferences > Java > Build Path" > clicking "Java > Build Path > Classpath Variables" > click new.

I tried adding just the folder but have also tried adding all the jars separately. I made a quick test by writing a program that just imports
Java Code:
import javax.media.*;
. However, it does not compile in eclipse:

Exception in thread "main" java.lang.Error: Unresolved compilation problem:

at MediaPlayer.main(MediaPlayer.java:4)
However, if i compile the file from command line it compiles fine. Any ideas what i have done wrong?

Thanks