loadLibrary(final String lib_name) in plugins/linux/src/java/net/java/games/input/LinuxEnvironmentPlugin.java has to be modified in order to use GlueGen to load native libraries instead of its own code that relying on Java library path or its own path in the property "net.java.games.input.librarypath".