Original Post
Hi im trying to get jinput to work and there fourms seem kind of slow to respond so im said i'd try good ole gamedev heres what i posted there: Hi im trying my hardest to get JInput working here and its not doing any good for my mental health >: ive unzipped the core package into "jdk1.5.0_01\jre\lib\ext" with jinput.jar and jutil.jar in the ext directory and the dxinput.dll and dxinput.jar in a folder named "controller" as the intro tutorials says. i navigate to the "jdk1.5.0_01\jre\lib\ext" directory in the command window and execute the command: java -cp jinput.jar;jutils.jar net.java.games.input.test.ControllerTextTest
C:\Program Files\Java\jdk1.5.0_01\jre\lib\ext>java -cp jinput.jar;jutils.jar net .java.games.input.test.ControllerTextTest Controller Env = net.java.games.input.DefaultControllerEnvironment@35ce36 Scanning jar: dxinput.jar Examining file : META-INF/ Examining file : META-INF/MANIFEST.MF Examining file : net/ Examining file : net/java/ Examining file : net/java/games/ Examining file : net/java/games/input/ Examining file : net/java/games/input/DirectInputAxis.class Examining file : net/java/games/input/DirectInputDevice.class Examining file : net/java/games/input/DirectInputEnvironmentPlugin.class Found candidate class: net/java/games/input/DirectInputEnvironmentPlugin.class Exception in thread "main" java.lang.NoClassDefFoundError: IllegalName: net/java /games/input/DirectInputEnvironmentPlugin at java.lang.ClassLoader.preDefineClass(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at net.java.games.util.plugins.Plugins.processJar(Plugins.java:112) at net.java.games.util.plugins.Plugins.scanPlugins(Plugins.java:85) at net.java.games.util.plugins.Plugins.<init>(Plugins.java:73) at net.java.games.input.DefaultControllerEnvironment.scanControllersAt(D efaultControllerEnvironment.java:174) at net.java.games.input.DefaultControllerEnvironment.scanControllers(Def aultControllerEnvironment.java:164) at net.java.games.input.DefaultControllerEnvironment.access$000(DefaultC ontrollerEnvironment.java:57) at net.java.games.input.DefaultControllerEnvironment$1.run(DefaultContro llerEnvironment.java:108) at java.security.AccessController.doPrivileged(Native Method) at net.java.games.input.DefaultControllerEnvironment.getControllers(Defa ultControllerEnvironment.java:106) at net.java.games.input.test.ControllerTextTest.<init>(ControllerTextTes t.java:54) at net.java.games.input.test.ControllerTextTest.main(ControllerTextTest. java:86) ive tried using the -D option with the jinput.plugins option but java tells me the class doesn't exist can anyone help me with this, and can anyonne make the install for this a little less painful maybe a complete introduction to jinput not an introduction scattered over many threads, it's just messy!!