问题描述
import javax .media。*无法解决。
导入com.sun.media。*无法解析
经过一些研究,我试过将这个外部库添加到项目中 - 没有成功。
-
sun-jai_codec.jar从
-
安装JMF2.1.1e并添加了jmf.jar。
没有运气这个...所以我要求一些一点帮助!
只需再次创建项目的路径。右键单击项目,然后选择构建路径--->配置构建路径---> java构建路径---->库
选择所有jar,然后删除然后添加所有的jar包括项目的jar。
然后单击确定。然后转到订单并导出并单击所有选项。然后点击确定。
I have this old java applet that i need to debug, yet i have some problems with import.
The import javax.media.* cannot be resolved.
The import com.sun.media.* cannot be resolved
After some research i tried adding this external libs to the project - with no success.
sun-jai_codec.jar from http://www.java2s.com/Code/Jar/s/Downloadsunjaicodecjar.htm
installed JMF2.1.1e and added the jmf.jar.
I had no luck with this... so im asking some one for a little help!
Just build the path of your project again. Right click on the project and then select build path--->configure build path--->java build path---->libraries
select all jars and then remove and then add all jars including the jars of your project.
then click ok. then go to order and export and click all the options. then click ok.
这篇关于Eclipse缺少导入(javax.media。*和com.sun.media。*)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!