Exception in thread

Hi,

I'm getting the following message when I try to execute - java classname.class from the command promt.

Message - Exception in thread "main" java.lang.NoClassDefFoundError:

I'm running XP and variables are set as:

CLASSPATH - C:\Program Files\Java\jre1.5.0\lib\ext\QTJava.zip

QTJAVA - C:\Program Files\Java\jre1.5.0\lib\ext\QTJava.zip

Any help will be appreciated.

[421 byte] By [spurtreea] at [2007-11-27 6:12:01]
# 1
Suppose you write a class called MyClass.javaTo compile it you should type:javac MyClass.javaTo run it you should type:java MyClasswithout .class :)
Xtremebcna at 2007-7-12 17:18:50 > top of Java-index,Desktop,Developing for the Desktop...