can't execute java from prompt command on xp. . .

hello!

that's the following:

I'm trying to execute

"java Teste.class "

from prompt command and it throws:

Exceptio in thread "main" java.lang.NoClassDefFoundError

in thread main. The Teste.java file is compiled finely using

"javac Teste.java"

My enviroment variables are cofigured this way:

NAME: JAVA_HOMEVALUE: C:\Arquivos de programas\Java\jdk1.5.0_03

NAME: PATHVALUE: C:\Arquivos de programas\Java\jre1.5.0_03\bin

NAME: CLASSPATHVALUE: C:\Arquivos de programas\Java\jre1.5.0_03\lib

the vm and jdk directory is this:

C:\Arquivos de programas\Java\jdk1.5.0_03

C:\Arquivos de programas\Java\jre1.5.0_03

and the Teste.java is:

package teste;

publicclass Teste{

public Teste(){

System.out.println("Testando, Testando, Testando");

}

publicstaticvoid main(String[] args){

Teste exe =new Teste();

}

}

So if you have any suggestion, please post it. Thanks!!

[1466 byte] By [Sonecaa] at [2008-2-13]
# 1
[url http://forum.java.sun.com/thread.jspa?threadID=768993&tstart=0]Crosspost![/url]
CaptainMorgan08a at 2007-7-14 > top of java,Core,Monitoring & Management...