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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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