Hi Emanuel, Am 06.06.20 um 23:47 schrieb Emmanuel Bourg: > Hi Bernd, > > Le 31/05/2020 à 22:24, Bernd Schatz a écrit : > >> The libjinput-jni contains >> /usr/lib/jni/libjinput.so >> but java is expecting it as jinput-linux64.so (on a x86_64 system). > > The code is patched to load the library from /usr/lib/jni/libjinput.so, see: > > https://salsa.debian.org/java-team/jinput/-/blob/master/debian/patches/01build.xml.jni > > The package could be updated to use a multi-arch path. > > >> So a manual link is necessary >> lrwxrwxrwx 1 root root 25 Mai 30 19:14 /usr/lib/jni/jinput-linux64.so -> >> /usr/lib/jni/libjinput.so > > Did you encounter an UnsatisfiedLinkError when using the package? [...]
I was not able to build it, i get this error: createJNIHeaders: [javah] Error: Class net.java.games.input.AbstractComponent could not be found. unzip -l ./coreAPI/bin/jinput-core.jar | grep net.java.games.input.AbstractComponent 2123 2020-06-19 18:02 net/java/games/input/AbstractComponent.class find . -name "*.jar" ./coreAPI/bin/jinput-core.jar ./coreAPI/bin/jinput-test.jar ./plugins/linux/bin/linux.jar ./lib/jutils.jar In the Build Requirements it is mentioned to use the jgi-utils project, where can i find this ? Instead of that i linked in the jutils.jar from my system: ls -l jinput/lib/ insgesamt 4 lrwxrwxrwx 1 bschatz bschatz 26 Jun 19 15:09 jutils.jar -> /usr/share/java/jutils.jar -- greets Bernd
signature.asc
Description: OpenPGP digital signature