Starting with JME

Hi guys.



I’m using NetBeans IDE to try my first JME examples, i’ve been following this link



http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_netbeans_6.1_for_jme_2.0



to install and configure all the necessary to work with JME using NetBeans.



When i finished reading that link, a created a new proyect to run my first application, the first code i’ve tried

to run is:


import com.jme.app.SimpleGame;
 
public class Lesson1 extends SimpleGame {
   /**
    * Main method is the entry point for this lesson. It creates a
    * SimpleGame and tells the dialog to always appear. It then
    * starts the main loop.
    * @param args
    */
   public static void main(String[] args) {
       Lesson1 app = new Lesson1();
            app.setConfigShowMode(ConfigShowMode.AlwaysShow);
            app.start();
   }
 
        protected void simpleInitGame() {
 
   }
 
}



however, when i try to run the application, nothing happens, it shows Running all the time, but the application never
starts, after an hour the application is still trying to run.

I don't know how to upload an image here, so i uploaded the error image to RapidShare in case you would like to see what is happening.

Error Image
http://rapidshare.com/files/196613386/error.JPG.html

I hope you can help me.


Thanks in advance for your time.

Bye...


It seems your classpath is not set appropriately. It can be seen in your screenshot that org.lwjgl.opengl.DisplayMode is not found. Check your project properties to make sure you have the right projects (jme for instance) references from your personal project.