As many of you probably know, I’m in the process of building an arcade cabinet to house the games I make. I am on the last step of this project, which is making the raspberry pi 3 run my game. The game runs fine, but I have run into a problem with the controllers/joystick and Jinput (I believe). Now please keep in mind, I’m not the best or smartest at setting up stuff under the hood. Everything works fine in windows, but on the pi, I get:
java.lang.UnsatisfiedLinkError tmp/natives-114326371/libjinput-linux.so wrong ELF file
From my research, I think this is happening because the jinput linux file is at 64 bit, but the JVM is 32 bit. Also from my research, it looks like you can’t use a 64 bit JVM with the raspberry pi 3. So my question is, what do I do? Jinput is only 64 bit right? Or can someone point me in the direction to get the 32 bit version? Or is there something I’m completely missing while I build the game?
Edit: to say here’s how I build the game: Export the project from Eclipse, then use jar splice to put the game and all the dependencies together, which include all of the windows, mac and linux files.
I’m going to try right now just not putting the 64 bit file in the build path and see if that works.