Problem creating JAR file

Whenever I try to create a JAR file with Eclipse, the resulting JAR launches, displays the game settings console, and then fails when I click OK with the following error:



Jun 20, 2007 12:35:16 PM com.jmex.game.DefaultUncaughtExceptionHandler uncaughtException

SEVERE: Main game loop broken by uncaught exception

java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:164)

at com.jme.input.joystick.JoystickInput.setProvider(JoystickInput.java:128)

at com.jmex.game.StandardGame.initSystem(StandardGame.java:203)

at com.jmex.game.StandardGame.run(StandardGame.java:131)

at java.lang.Thread.run(Thread.java:613)

Jun 20, 2007 12:35:16 PM com.jmex.sound.openAL.SoundSystem <clinit>

INFO: DETECT OPERATING SYSTEM

Jun 20, 2007 12:35:16 PM com.jmex.sound.openAL.SoundSystem <clinit>

INFO: CREATE OPENAL



This happens with the included JAR export and FAT JAR plugin as well.

Funny thing is I'm not even using the Joystick stuff at all, so I'm guessing this is an internal jME reference gone astray. I'm using 0.11.



Thanks, in advance, for any ideas, pointers, etc.

aokjoey

jME by default tries to scan the system for available input systems… What you should do, is add the lwjgl.jar and all other required jars to the project classpath.

I did select the lib folder in the export tool, but obviously, I'm still missing something, somewhere.



At least now I know what's missing, thanks.



More head-scratchin'

aokjoey