Using jME in Eclipse

Basically, I'm trying to set up eclise so as using it with jme. I have followed the whole get started guide. Even after doing that, the compiler gives me the following errors :



java.lang.NoClassDefFoundError: com/jme/app/SimpleGame

at java.lang.ClassLoader.defineClass1(Native Method)

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 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Exception in thread "main"



Could you help me?



Cheers !!

Essentially jme is not in your classpath.



If you're using jme 0.10, you need to add it to your project by right-clicking on your project name -> properties.

your question seems to be precise, but I don't know how to answer to it…

basically I have followed the getting started guide, and I didn't where that says we need to choose the jme version…

Ok, so I assume you started here: http://www.jmonkeyengine.com/wiki/doku.php?id=getting_started and ended up here: http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_eclipse_to_build_jme

Does that look right?



Either you'll have a whole bunch of folders under jme or jme/src in eclipse or not.