说明白点吧,为什么不能安装JMF,是安装不上还是有规定不让使用?

解决方案 »

  1.   

    我不能在学校机器上安jmf,没权限。但要用,我做了。jar文件,但不能扑做microphone
      

  2.   

    我也没有做过,不过在Sun网站上有一些microphone的QA,大多没人回,下面这个还可以;你的E文不错,看一下吧。
    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
      

  3.   

    If I do not install JMF in the computer and I use a JMF .jar file, how can I make the microphone work. It works only when the JMF is installed.
      

  4.   

    也许下面的办法可以解决:
       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。
      

  5.   

    >我不能在学校机器上安jmf,没权限。但要用,我做了。jar文件,但不能扑做microphone不能捕捉到Microphone,应该有Exception or Error 发生吧,
    何不把Excetion or Error贴出来呢? 
      

  6.   

    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
      

  7.   

    you should put .jar files to jre\lib\ext\ 
      

  8.   

    symyx(小猫),"我不能在学校机器上安jmf,没权限。"
    so I cannot put  .jar files to jre\lib\ext\