title: JInput "no jinput-dx8 in java.library.path" Error
body: <p>Hi I'm trying to make a game in java that gives users the option to a joystick or gamepad to control movement.  So I found something called "JInput" that is suppose to make it easy to detect all connected game controllers.  The problem is that when I run it in Eclipse I get the following error: "java.lang.UnsatisfiedLinkError: no jinput-dx8 in java.library.path".</p>
  
  <p>My code is the following:</p>
  
  <pre><code>import net.java.games.input.*;
  
  
  public class ListControllers 
  {
  
    public static void main(String[] args) 
    {
  
      System.out.println("JInput version: " + Version.getVersion());
  
      ControllerEnvironment ce =
           ControllerEnvironment.getDefaultEnvironment();
  
      Controller[] cs = ce.getControllers();
  
      if (cs.length == 0) {
        System.out.println("No controllers found");
        System.exit(0);
      }
  
      // print the name and type for each controller
      for (int i = 0; i &lt; cs.length; i++)
        System.out.println(i + ". " +
               cs[i].getName() + ", " + cs[i].getType() );
  
    } // end of main()
  
  
  } // end of ListControllers class
  </code></pre>
  
  <p>I'm currently developing in Windows 7 environment.  Any help would be really appreciated.</p>