Pergunta

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!

enter image description here

Foi útil?

Solução

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.

Outras dicas

Sheez .. this was stupid.

Its a big MESS with this old classes/jar files. It turned out i had the wrong ones...

Found them here (links in the answer):

Where can I download Jai and Jai-imageio?

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top