Help running first jME program

I installed jME properly in netbeans and wrote on of the tutorial programs found on this site. There are no errors and the program compiles fine, but when ran it gives this error:

java.lang.NoClassDefFoundError: and

Exception in thread "main"

Java Result: 1

here is the code for the tutorial program if it matters

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

public class HelloWorld extends SimpleGame {
    public static void main(String args[]) {
        HelloWorld app = new HelloWorld();
    protected void simpleInitGame() {

i've got all the jars added, the program compiles properly but for whatever reason it won't run

thats whats weird about the message, i posted the entire thing. It doesn't list what class it couldn't found. I'm assuming i'm doing something stupid that can be fixed right quick but while I'm new to jME I would consider myself proficient in Java and I don't see anything in that code that could possibly generate that error.

well i've got the lwjgl.jar, the jorbis jar, the jogg jar, the jinput jar, and every jar in the com.jme. folder added to my project. Nothing in the jdk or jre folders needs to be modified to run these programs correct? I was able to run the test programs by the way so its not like there is something wrong with my build. I've also got this string in the vm options:


Well the problem with the class not found error is fixed but now this error message is coming up

Apr 30, 2008 10:25:27 PM start

INFO: Application started.

Apr 30, 2008 10:25:27 PM com.jme.system.PropertiesIO <init>

INFO: PropertiesIO created

Apr 30, 2008 10:25:27 PM com.jme.system.PropertiesIO load

WARNING: Could not load properties. Creating a new one.

Apr 30, 2008 10:25:27 PM class HelloWorld start()

SEVERE: Exception in game loop

java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path

        at java.lang.ClassLoader.loadLibrary(

        at java.lang.Runtime.loadLibrary0(

        at java.lang.System.loadLibrary(

        at org.lwjgl.Sys$

        at Method)

        at org.lwjgl.Sys.doLoadLibrary(

        at org.lwjgl.Sys.loadLibrary(

        at org.lwjgl.Sys.<clinit>(

        at org.lwjgl.opengl.Display.<clinit>(

        at com.jme.system.lwjgl.LWJGLPropertiesDialog$ Source)

        at Source)

        at Source)

        at HelloWorld.main(

Apr 30, 2008 10:25:27 PM cleanup

INFO: Cleaning up resources.

Apr 30, 2008 10:25:27 PM com.jme.system.lwjgl.LWJGLDisplaySystem <init>

INFO: LWJGL Display System created.

Apr 30, 2008 10:25:28 PM start

INFO: Application ending.

i've got the java library path for the jmelib in my vm options so it should be recognizing the lwjgl but for some reason it isn't

I had this too. For some reason, this makes a difference…

You have: -Djava.library.path=

yeah thanks it works now. I appreciate the help, i never would have picked up on something like that by myself.

As soon as I can, I will add a note to the wiki warning of copy-paste errors.

(EDIT)  Edits made to the wiki.