6 Replies Latest reply on Jul 9, 2005 3:22 PM by 843799

    can not run a project with modified jmf.jar

    843799
      Hi,
      my project use the modified jmf.jar in which all classes leading with path 'javax' were deleted
      and all the classes of the package com.ms.security(which is in windowDirectory ex: C:\WINNT\java\Packages)
      were included.

      I download the source code file:jmf-2_1_1e-scsl-src.zip and unzip it,
      I only use the directory 'javax'
      which is located at the directory of share of src of the unzip Source code file.

      I put the above directory 'javax' and AVTransmit2.java in src directory of my project.

      The main in AVTransmit2.java was modified as:

      public static void main(String[] args) {
      Format fmt = null;
      AVTransmit2 at = new AVTransmit2(new MediaLocator("file:/d:/back.avi"),"255.255.255.255","42050",fmt);
      String result = at.start();
      if (result != null) {
      System.err.println("Error : " + result);
      System.exit(0);
      }

      System.err.println("Start transmission for 60*20 seconds...");
      try {
      Thread.currentThread().sleep(60000 * 20);
      }
      catch (InterruptedException ie) {
      }
      at.stop();

      System.err.println("...transmission ended.");

      System.exit(0);
      }

      I get the error:
      ============================================================
      IOException in readRegistry: java.io.InvalidClassException: javax.media.format.AudioFormat; local class incompatible: stream classdesc serialVersionUID = -9207570564778637264, local class serialVersionUID = -3901555183512636654
      IOException in readRegistry: java.io.InvalidClassException: javax.media.format.AudioFormat; local class incompatible: stream classdesc serialVersionUID = -9207570564778637264, local class serialVersionUID = -3901555183512636654

      Error : Couldn't create processor
      No plugins found
      ============================================================

      somebody can show me what is wrong ?

      Thanks