Open Gidan opened 1 year ago
Does this happen only with OSGi? If so, please try again with an "uber JAR".
I think you're saying you're already using an uber JAR? If so, try other combinations, with/without OSGi, with/without JavaFX, with/without Java SE 8, etc. Let's which ones work, which ones don't.
I think you're saying you're already using an uber JAR? If so, try other combinations, with/without OSGi, with/without JavaFX, with/without Java SE 8, etc. Let's which ones work, which ones don't.
Yes, the dependencies are packaged inside the jar bundle. I also tried with a non-OSGi JavaFX application and everything works perfectly.
So it's some OSGi related bug... BTW, why are you running this as admin? And are you sure the home directory is a local drive and not remotely mounted or something?
So it's some OSGi related bug... BTW, why are you running this as admin? And are you sure the home directory is a local drive and not remotely mounted or something?
I am running this on a local drive. Don't mind the admin username you see in the paths. It's not the real username I am using.
Please set the "org.bytedeco.javacpp.logger.debug" system property to "true" to get more information on the console.
I am trying to use JavaCV in a JavaFX running in OSGi container.
The bundle that is using JavaCV as dependency is resolved correctly, but once started it creates an instance of org.bytedeco.javacv.FFmpegFrameGrabber and I see this exception:
The error message is in italian, but it says:
I checked that the file exists at that path and the only process that is using it is the Java application itself.
I embedded all the JavaCV jar files in the bundle and added all of them to the Bundle-ClassPath. I included only the jars for the windows-x86_64 platform. Here is the list of jars that I included.
Environment details: