[SOLVED]Compiling using jME?

When I compile my "HelloWorld.java" I get these errors:



init:
deps-jar:
Compiling 1 source file to C:UsersZombiedeviceDocumentsNetBeansProjectsJavaApplication2buildclasses
C:UsersZombiedeviceDocumentsNetBeansProjectsJavaApplication2srcHelloWorld.java:1: package com.jme.app does not exist
import com.jme.app.SimpleGame;
C:UsersZombiedeviceDocumentsNetBeansProjectsJavaApplication2srcHelloWorld.java:2: package com.jme.scene.shape does not exist
import com.jme.scene.shape.Box;
C:UsersZombiedeviceDocumentsNetBeansProjectsJavaApplication2srcHelloWorld.java:3: package com.jme.math does not exist
import com.jme.math.Vector3f;
C:UsersZombiedeviceDocumentsNetBeansProjectsJavaApplication2srcHelloWorld.java:10: cannot find symbol
symbol: class SimpleGame
public class HelloWorld extends SimpleGame{
C:UsersZombiedeviceDocumentsNetBeansProjectsJavaApplication2srcHelloWorld.java:14: cannot find symbol
symbol  : variable SimpleGame
location: class HelloWorld
  app.setDialogBehaviour(SimpleGame.ALWAYS_SHOW_PROPS_DIALOG);
C:UsersZombiedeviceDocumentsNetBeansProjectsJavaApplication2srcHelloWorld.java:15: cannot find symbol
symbol  : method start()
location: class HelloWorld
  app.start(); // Start the program
C:UsersZombiedeviceDocumentsNetBeansProjectsJavaApplication2srcHelloWorld.java:19: cannot find symbol
symbol  : class Box
location: class HelloWorld
  Box b = new Box("Mybox", new Vector3f(0,0,0), new Vector3f(1,1,1));
C:UsersZombiedeviceDocumentsNetBeansProjectsJavaApplication2srcHelloWorld.java:19: cannot find symbol
symbol  : class Box
location: class HelloWorld
  Box b = new Box("Mybox", new Vector3f(0,0,0), new Vector3f(1,1,1));
C:UsersZombiedeviceDocumentsNetBeansProjectsJavaApplication2srcHelloWorld.java:19: cannot find symbol
symbol  : class Vector3f
location: class HelloWorld
  Box b = new Box("Mybox", new Vector3f(0,0,0), new Vector3f(1,1,1));
C:UsersZombiedeviceDocumentsNetBeansProjectsJavaApplication2srcHelloWorld.java:19: cannot find symbol
symbol  : class Vector3f
location: class HelloWorld
  Box b = new Box("Mybox", new Vector3f(0,0,0), new Vector3f(1,1,1));
C:UsersZombiedeviceDocumentsNetBeansProjectsJavaApplication2srcHelloWorld.java:20: cannot find symbol
symbol  : variable rootNode
location: class HelloWorld
  rootNode.attachChild(b); // Put it in the scene graph
11 errors
BUILD FAILED (total time: 0 seconds)



And this isn't even my coding, this is jME example code.

Sounds like you classpath is screwed… If you are using Eclipse try adding the jme project to your new peoject in the propoerties -> build of your project.

Thanks for your reply, but I got it working. I didn't want to download Eclipse, but I did and it fixed my problem. I was using NetBeans, which is a peace of crap.