最近在弄一个视频播放系统。配置JMF不成功。 安装完之后,配置环境变量如下 CLASSPATH .;.;D:/Program Files/JMF2.1.1e/lib/sound.jar;D:/Program Files/JMF2.1.1e/lib/jmf.jar;D:/Program Files/JMF2.1.1e/lib;
JMFHOME D:/Program Files/JMF2.1.1e 之后到http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/jmfdiagnostics.html
信息如下:
Java Plug-in 1.6.0-rc 使用 JRE 版本 1.6.0-rc Java HotSpot(TM) Client VM
载入:找不到类 JMFDiagnostics。java.lang.ClassNotFoundException: JMFDiagnostics at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)Caused by: java.io.IOException: open HTTP connection failed. at sun.applet.AppletClassLoader.getBytes(Unknown Source) at sun.applet.AppletClassLoader.access$100(Unknown Source) at sun.applet.AppletClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) ... 10 more
请高手指下,这是如何?