After I finished programming a small game, which uses two DS4-Controllers, I tried to run it on my raspberry pi. Since java is installed in raspbian, I only need to install jinput, which I did by typing sudo apt-get install libjinput.java. Everything semeed to work fine. So I tried to run my Game, which I wrote in Windows/eclipse, but I keep getting errors no jinput-linux64 in java.libary.path. Did I use the wrong natives in jarsplice to create the "Fat Jar"?
Thanks Tim
You need install Jinput for arm linux. you can instal it by
then find these file on your raspberry pi after installation
make a new directory called (let's say) lib in your working directory (a you can name it as you wish) copy all the files above to the directory lib you just made. then compile the java file by this way :
then run it by this way :
if you make the Example.java from netbeans, remove the package info line at the top. it should work.