Eclipse缺少导入(javax.media。*和com.sun.media。*) [英] Eclipse missing imports (javax.media.* and com.sun.media.*)

查看:653
本文介绍了Eclipse缺少导入(javax.media。*和com.sun.media。*)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  import javax .media。*无法解决。 
导入com.sun.media。*无法解析

经过一些研究,我试过将这个外部库添加到项目中 - 没有成功。


  1. sun-jai_codec.jar从http://www.java2s.com/Code/Jar/s/Downloadsunjaicodecjar.htm


  2. 安装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.

  1. sun-jai_codec.jar from http://www.java2s.com/Code/Jar/s/Downloadsunjaicodecjar.htm

  2. 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。*)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆