I think I’ve done all the acrobatics to get things compiled and placed where they belong yet still I get
[java] Controller Env = net.java.games.input.DefaultControllerEnvironment@1004901
[java] Scanning jar: dxinput.jar
[java] Examining file : META-INF/
[java] Examining file : META-INF/MANIFEST.MF
[java] Examining file : net/
[java] Examining file : net/java/
[java] Examining file : net/java/games/
[java] Examining file : net/java/games/input/
[java] Examining file : net/java/games/input/DirectInputAxis.class
[java] Examining file : net/java/games/input/DirectInputDevice.class
[java] Examining file : net/java/games/input/DirectInputEnvironmentPlugin.class
[java] Found candidate class: net/java/games/input/DirectInputEnvironmentPlugin.class
[java] Adding class to plugins:net.java.games.input.DirectInputEnvironmentPlugin
[java] Examining file : net/java/games/input/DirectInputKeyboard.class
[java] Examining file : net/java/games/input/DirectInputMouse$BallAxis.class
[java] Examining file : net/java/games/input/DirectInputMouse$BallImpl.class
[java] Examining file : net/java/games/input/DirectInputMouse$ButtonImpl.class
[java] Examining file : net/java/games/input/DirectInputMouse$ButtonsImpl.class
[java] Examining file : net/java/games/input/DirectInputMouse.class
[java] Examining file : net/java/games/input/DirectInputRumbler.class
[java] java.lang.UnsatisfiedLinkError: getNumButtons
[java] at net.java.games.input.DirectInputMouse.getNumButtons(Native Method)
[java] at net.java.games.input.DirectInputMouse.access$200(DirectInputMouse.java:50)
[java] at net.java.games.input.DirectInputMouse$ButtonsImpl.<init>(DirectInputMouse.java:183)
[java] at net.java.games.input.DirectInputMouse.<init>(DirectInputMouse.java:88)
[java] at net.java.games.input.DirectInputMouse.createMouse(DirectInputMouse.java:146)
[java] at net.java.games.input.DirectInputEnvironmentPlugin.addDevice(DirectInputEnvironmentPlugin.java:159)
[java] at net.java.games.input.DirectInputEnvironmentPlugin.enumDevices(Native Method)
[java] at net.java.games.input.DirectInputEnvironmentPlugin.enumControllers(DirectInputEnvironmentPlugin.java:1
- [java] at net.java.games.input.DirectInputEnvironmentPlugin.(DirectInputEnvironmentPlugin.java:113)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
[java] at java.lang.Class.newInstance0(Class.java:306)
[java] at java.lang.Class.newInstance(Class.java:259)
[java] at net.java.games.input.DefaultControllerEnvironment.scanControllersAt(DefaultControllerEnvironment.java
:208)
[java] at net.java.games.input.DefaultControllerEnvironment.scanControllers(DefaultControllerEnvironment.java:1 - [java] at net.java.games.input.DefaultControllerEnvironment.access$000(DefaultControllerEnvironment.java:58)
[java] at net.java.games.input.DefaultControllerEnvironment$1.run(DefaultControllerEnvironment.java:109)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:10 - [java] at net.java.games.input.test.ControllerTextTest.(ControllerTextTest.java:54)
[java] at net.java.games.input.test.ControllerTextTest.main(ControllerTextTest.java:86)
[java] Exception in thread “main”
when I try to use ant to run any of the tests. Any clue which wrong turn I made?
Thanks,
Dale.