Procontroll Library in Eclipse
controll = ControllIO.getInstance(this);
This is the error:
Exception in thread "Animation Thread" java.lang.NoSuchMethodError: net.java.games.input.ControllerEnvironment.getEnvironment()
Lnet/java/games/input/ControllerEnvironment;
at procontroll.ControllIO.<init>(ControllIO.java:91)
at procontroll.ControllIO.getInstance(ControllIO.java:121)
at admav.TEST.joystickSetup(TEST.java:105)
at admav.TEST.setup(TEST.java:76)
at processing.core.PApplet.handleDraw(PApplet.java:1403)
at processing.core.PApplet.run(PApplet.java:1328)
at java.lang.Thread.run(Thread.java:680)
I have imported the procontroll.jar library and added the build path.
Not sure why this is occurring. The same sketch works within the Processing IDE.
Any thoughts as to why this could be occurring?
Stephen