>我不能在学校机器上安jmf,没权限。但要用,我做了。jar文件,但不能扑做microphone不能捕捉到Microphone,应该有Exception or Error 发生吧, 何不把Excetion or Error贴出来呢?
java.lang.NullPointerExceptionjavax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException at javax.media.Manager.createDataSource(Manager.java:1012) at megacoclient.rtpvoice.rtpMediaTransmit.createProcessor(rtpMediaTransmit.java:135) at megacoclient.rtpvoice.rtpMediaTransmit.start(rtpMediaTransmit.java:69) at megacoclient.rtpvoice.RTPVoiceSession.start(RTPVoiceSession.java:117) at megacoclient.protocol.test.TestClient.main(TestClient.java:164)Transmission Error
you should put .jar files to jre\lib\ext\
symyx(小猫),"我不能在学校机器上安jmf,没权限。" so I cannot put .jar files to jre\lib\ext\
http://forum.java.sun.com/thread.jsp?forum=28&thread=31892
http://forum.java.sun.com/thread.jsp?forum=28&thread=470031
http://forum.java.sun.com/thread.jsp?forum=28&thread=406910
http://forum.java.sun.com/thread.jsp?forum=28&thread=32801
JMF在安装时,有一些选项,选择不同选项会有不同的安全配置,同时在(WIN2K)系统的WINNT/System32目录下,COPY 20个.dll文件,native 方法体,操作硬件使用;同时设置classpath,运行jmf.jar文件中JMFInit.class,进行硬件注册。如果不安装,这些安全配置要自己管理,并且只有一个jmf.jar文件时,native 方法找不到方法体,无法操作硬件。不安装JMF时,可以这样做:
首先,你要确定声卡已经安装,然后,将jmf.jar,jmf.properties, .dll文件共三项放在同一目录下,并且将jmf.jar和jmf.jar所在目录设到classpath中,一定不要少了jmf.properties。
何不把Excetion or Error贴出来呢?
so I cannot put .jar files to jre\lib\ext\