I am currently merging my favorite worlds Java and Gentoo Linux together but have the following problem while writing an ebuild (installation script) for JInput:
The problem is that I do not know where to put the jinput plugin files (linux.jar and libjinput.so) for a comfortable system-wide installation.
Please do not treat this as a gentoo specific problem. The question is only were to put these files in an environment were multiple JVMs are available and can be installed after jinput.
I know that the plugin files should live in “lib/ext/controller” but copying them to that location would be a bad idea when the JVM with “lib/ext/controller” gets replaced.
Or should I leave the plugin installation completely to the user and provide only the infrastructure by installing jinput.jar?
If someone is interested on a discussion on the ebuilds itself have a look at this: http://forums.gentoo.org/viewtopic.php?t=145027