Trouble with Simple Game

Hello,



I think I have the jME2 and jME2Physics code compiled properly and added as librarys to a new test application. I'm trying to get a simple game instance up and running but I am getting the following error:


run:
Dec 15, 2008 3:35:17 PM com.jme.app.BaseGame start
INFO: Application started.
Dec 15, 2008 3:35:17 PM com.jme.system.PropertiesGameSettings <init>
INFO: PropertiesGameSettings created
Dec 15, 2008 3:35:17 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: [Lorg/lwjgl/opengl/DisplayMode;
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
        at java.lang.Class.getDeclaredMethod(Class.java:1935)
        at java.awt.Component.isCoalesceEventsOverriden(Component.java:5723)
        at java.awt.Component.access$100(Component.java:162)
        at java.awt.Component$2.run(Component.java:5677)
        at java.awt.Component$2.run(Component.java:5675)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Component.checkCoalescing(Component.java:5674)
        at java.awt.Component.<init>(Component.java:5643)
        at java.awt.Container.<init>(Container.java:245)
        at java.awt.Window.<init>(Window.java:319)
        at java.awt.Window.<init>(Window.java:465)
        at java.awt.Dialog.<init>(Dialog.java:651)
        at java.awt.Dialog.<init>(Dialog.java:395)
        at javax.swing.JDialog.<init>(JDialog.java:259)
        at javax.swing.JDialog.<init>(JDialog.java:193)
        at javax.swing.JDialog.<init>(JDialog.java:141)
        at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(LWJGLPropertiesDialog.java:184)
        at com.jme.app.AbstractGame$1.run(AbstractGame.java:236)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
BUILD STOPPED (total time: 9 seconds)



I'm not sure, but it seems to be looking for a class from the Light Weight Java Graphics Library, is that included in the jME2 source or should I be looking to obtain that separately?

Also, this is the code I am attempting to run if it helps:


package javaapplication6;

import com.jme.app.SimpleGame;
import com.jme.scene.shape.Box;
import com.jme.math.Vector3f;

public class Main extends SimpleGame
{
   public static void main(String[] args)
    {
      Main app = new Main();
       app.setConfigShowMode(ConfigShowMode.AlwaysShow);
       app.start();
   }

    protected void simpleInitGame()
    {
        // Make a box
        Box b = new Box("Mybox", new Vector3f(0,0,0), new Vector3f(1,1,1));
        rootNode.attachChild(b); // Put it in the scene graph
   }

}


You can find it in the /lib/lwjgl folder of your jME checkout. Also be sure to add the lwjgl native found in lib/lwjgl/native to your library path.