You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm building a simple app using JavaFX19 for both Windows and Linux (running on Raspi ARM64). no problem with the default windows platform using webcam-capture default driver (OpenIMAJGrabber); Porting to Raspberry pi4 Bulleyes I'm running into crash during Webcam init.
Per the wiki (https://github.com/sarxos/webcam-capture/wiki/How-To-Configure-Raspberry-Pi) I'm configuring the driver to V4L4J and getting the following exception: "java.io.IOException: java.lang.NoSuchFieldException: usr_paths" (full dump below).
jdk-19.0.1+10
javafx-19
Jars used:
v4l4j-0.9.1-r507.jar
webcam-capture-0.3.12.jar
webcam-capture-driver-v4l4j-0.3.12.jar
full exception dump:
java.io.IOException: java.lang.NoSuchFieldException: usr_paths
at [email protected]/com.github.sarxos.v4l4j.NativeUtils.loadLibraryFromJar(NativeUtils.java:62)
at [email protected]/com.github.sarxos.v4l4j.V4L4J.init(V4L4J.java:50)
at [email protected]/com.github.sarxos.webcam.ds.v4l4j.V4l4jDriver.(V4l4jDriver.java:33)
at WebcamJavaFxTest/com.relaxmax.webcamcapturetest.WebCamMain.start(WebCamMain.java:88)
at javafx.graphics@19/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:847)
at javafx.graphics@19/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:484)
at javafx.graphics@19/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at javafx.graphics@19/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
at javafx.graphics@19/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics@19/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at javafx.graphics@19/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:316)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.NoSuchFieldException: usr_paths
at java.base/java.lang.Class.getDeclaredField(Class.java:2663)
at [email protected]/com.github.sarxos.v4l4j.NativeUtils.addLibraryPath(NativeUtils.java:109)
at [email protected]/com.github.sarxos.v4l4j.NativeUtils.loadLibraryFromJar(NativeUtils.java:60)
... 12 more
thanks for your help!
The text was updated successfully, but these errors were encountered:
Hello,
I'm building a simple app using JavaFX19 for both Windows and Linux (running on Raspi ARM64). no problem with the default windows platform using webcam-capture default driver (OpenIMAJGrabber); Porting to Raspberry pi4 Bulleyes I'm running into crash during Webcam init.
Per the wiki (https://github.com/sarxos/webcam-capture/wiki/How-To-Configure-Raspberry-Pi) I'm configuring the driver to V4L4J and getting the following exception: "java.io.IOException: java.lang.NoSuchFieldException: usr_paths" (full dump below).
jdk-19.0.1+10
javafx-19
Jars used:
full exception dump:
java.io.IOException: java.lang.NoSuchFieldException: usr_paths
at [email protected]/com.github.sarxos.v4l4j.NativeUtils.loadLibraryFromJar(NativeUtils.java:62)
at [email protected]/com.github.sarxos.v4l4j.V4L4J.init(V4L4J.java:50)
at [email protected]/com.github.sarxos.webcam.ds.v4l4j.V4l4jDriver.(V4l4jDriver.java:33)
at WebcamJavaFxTest/com.relaxmax.webcamcapturetest.WebCamMain.start(WebCamMain.java:88)
at javafx.graphics@19/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:847)
at javafx.graphics@19/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:484)
at javafx.graphics@19/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at javafx.graphics@19/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
at javafx.graphics@19/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics@19/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at javafx.graphics@19/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:316)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.NoSuchFieldException: usr_paths
at java.base/java.lang.Class.getDeclaredField(Class.java:2663)
at [email protected]/com.github.sarxos.v4l4j.NativeUtils.addLibraryPath(NativeUtils.java:109)
at [email protected]/com.github.sarxos.v4l4j.NativeUtils.loadLibraryFromJar(NativeUtils.java:60)
... 12 more
thanks for your help!
The text was updated successfully, but these errors were encountered: