Thanks for your response - I will try with teh 32 bit library and let you know how it goes
Meanwhile - to answer your question . Yes I am using the arm version of library
Let me share some specific information below
System information
inxi -Fxz
System: Kernel: 5.4.0-1078-raspi aarch64 bits: 64 compiler: gcc v: 9.4.0 Console: tty 4
Distro: Ubuntu 20.04.5 LTS (Focal Fossa)
Machine: Type: ARM Device System: Raspberry Pi 4 Model B Rev 1.2 details: BCM2835 rev: c03112
serial: <filter>
CPU: Topology: Quad Core model: N/A variant: cortex-a72 bits: 64 type: MCP arch: ARMv8 rev: 3
features: Use -f option to see features bogomips: 432
Speed: 700 MHz min/max: 600/1500 MHz Core speeds (MHz): 1: 700 2: 700 3: 700 4: 700
Library information
file libopencv_java.so
libopencv_java.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (GNU/Linux), dynamically linked, with debug_info, not stripped
ldd libopencv_java.so
linux-vdso.so.1 (0x0000ffff82494000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000ffff818f5000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffff818c4000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffff81819000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffff816a6000)
/lib/ld-linux-aarch64.so.1 (0x0000ffff82464000)
DCM4Che information
dcm4che-core-5.29.1.jar
dcm4che-imageio-5.29.1.jar
...
Weasis
weasis-core-img-4.5.5.jar
Permissions
all have rwx permissions for the user running these libraries