There is used Java Native Interface in the gLite L&B java client (glite-lb-client-java package) for accessing local sockets.
For Fedora/EPEL, the jar-files using JNI should be located in %{_jnidir} (/usr/lib/java) instead of %{_javadir} (/usr/share/java). Link to the according guidelines:
There is used Java Native Interface in the gLite L&B java client (glite-lb-client-java package) for accessing local sockets.
For Fedora/EPEL, the jar-files using JNI should be located in %{_jnidir} (/usr/lib/java) instead of %{_javadir} (/usr/share/java). Link to the according guidelines:
https://fedoraproject.org/wiki/Packaging:Java#Packaging_JAR_files_that_use_JNI
So there is needed to change location of glite-lb-client-java.jar file from /usr/share/java to /usr/lib/java.
Also the native library should be located in %{_libdir}/%{name} (/usr/lib64/glite-lb-client-java) for Fedora/EPEL and in /usr/lib/jni for Debian.