小河java
发贴: 1
积分: 0
|
于 2006-06-27 21:13
用JBuilder2005写了一个MP3播放器(用JMF2.1),在JBuilder2005下运行正常,但打包时如果完全包括所有JMF类库则不能生成JAR文件(能打包成EXE文件)提示: Warning: com.sun.media.amovie.MSVisualComponent: can't find superclass or interface com.ms.awt.HeavyComponent Warning: com.sun.media.renderer.video.MSHeavyComponent: can't find superclass or interface com.ms.awt.HeavyComponent Warning: there were 2 unresolved references to superclasses or interfaces. You may need to specify additional library jars (using '-libraryjars'), or perhaps the '-dontskipnonpubliclibraryclasses' option. If you are sure the mentioned classes are not used anyway, you could try your luck using the '-ignorewarnings' option. Error: Please correct the above warnings first. Error obfuscating mybel.jar ;如果打包时只包括需要的类库则能生成JAR和EXE文件,但播放器不能播放MP3文件。哪位解决过这类问题,帮帮忙!!!!不胜感谢!!!!
|