Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11700

Re: libjinput-jni , outdated informations and wrong lib name !?

From Bernd Schatz <bernd.schatz@gmx.net>
Newsgroups linux.debian.maint.java
Subject Re: libjinput-jni , outdated informations and wrong lib name !?
Date 2020-06-20 11:30 +0200
Message-ID <AjHYZ-6aq-11@gated-at.bofh.it> (permalink)
References <AcCKJ-70S-3@gated-at.bofh.it> <AeORr-7TD-5@gated-at.bofh.it> <AjHPk-67c-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Am 20.06.20 um 11:12 schrieb Bernd Schatz:
> 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
> 
> 


sorry, missed some lines of the output:


$ ant simple_linux
[...]
jar:

createJNIHeaders:
    [javah] Error: Class net.java.games.input.AbstractComponent could not be found.

BUILD FAILED
/home/bschatz/workspaces/salsa-debian/jinput/build.xml:110: The following error occurred while executing this line:
/home/bschatz/workspaces/salsa-debian/jinput/build.xml:69: The following error occurred while executing this line:
/home/bschatz/workspaces/salsa-debian/jinput/plugins/linux/build.xml:56: compilation failed



-- 
greets
 Bernd


Back to linux.debian.maint.java | Previous | NextPrevious in thread | Find similar


Thread

libjinput-jni , outdated informations and wrong lib name !? Bernd Schatz <bernd.schatz@gmx.net> - 2020-05-31 22:30 +0200
  Re: libjinput-jni , outdated informations and wrong lib name !? Emmanuel Bourg <ebourg@apache.org> - 2020-06-06 23:50 +0200
    Re: libjinput-jni , outdated informations and wrong lib name !? Bernd Schatz <bernd.schatz@gmx.net> - 2020-06-07 21:40 +0200
    Re: libjinput-jni , outdated informations and wrong lib name !? Bernd Schatz <bernd.schatz@gmx.net> - 2020-06-20 11:20 +0200
      Re: libjinput-jni , outdated informations and wrong lib name !? Bernd Schatz <bernd.schatz@gmx.net> - 2020-06-20 11:30 +0200

csiph-web