Wednesday, May 7, 2008

Using JMF in Eclipse

I was trying to use JMF API. I was thinking of making some applets that can play audio and video. I downloaded the JMF API from the sun site. Since long I have been using Eclipse as the IDE for java development. But, I was having hard time adding JMF in Eclipse. My java programs were not recognizing the jmf classes. Finally, here is how I solved the problem.
  • Open Eclipse
  • Go to Project Properties
  • Click on Java Build Path
  • Go to the tab libraries
  • Click on button "Add external Jar Files"
  • show the jmf.jar file and then click on open

















This should be all to add jmf in Eclipse. Now your java program should be able to recognize the jmf classes.