Menu

InvocationTargetException

user
2008-10-25
2013-05-09
  • Nobody/Anonymous

    Hi,

    i tried to follow the instructions for the manual installation here: http://fobs.sourceforge.net/f4jmf_first.html

    my $CLASSPATH:
    /usr/lib/jvm/java-6-sun/jre/lib/ext/jmf.jar:/usr/lib/jvm/java-6-sun/jre/lib/ext/fobs4jmf.jar:.:
    my $LD_LIBRARY_PATH
    /usr/lib/jvm/java-6-sun/jre/lib/ext:

    I have placed fobs4jmf.jar, jmf.jar, jmf.properties and libfobs4jmf.so in /usr/lib/jvm/java-6-sun/jre/lib/ext.
    I replaced the original jmf.jar with the jmf.jar of fobs.

    But if i try to register the plugin in JMF, eg Demultiplexer, it shows an Exception in the console: java.lang.reflect.InvocationTargetException.

    What can i do to get fobs working?

    Regards,
    MKay

     
    • Jose San Pedro

      Jose San Pedro - 2008-11-05

      Hi,

      that exception seems to indicate that there's some kind of issue in the invokation of the native method. So the classes are being found ok, but maybe the native library is not. Try placing all the files (jars and dlls) in the same folder, and launch the application from there. Alternatively, use the jmf.properties provided in the package, as it has all the Fobs classes already registered.

      Cheers,

      Jose San Pedro

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.