running program.java

hi!

i try to execute *.java using the command line java *.class

usually i find this error

Exception in thread "main" java.lang.NoClassDefFoundError: workspace/freespace/os/class.

the compilation is done correctly(no error).

the class os exit and it is correctly specified

i 'am using eclipse3.2

java version "1.5.0_09"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)

Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode)

using the graphical interface of eclipse the execution is done correctly.

i need to execute it using the command line what can i do?

i need help

thanths a lot

some one help

[714 byte] By [fazaia] at [2007-11-27 1:07:46]
# 1
That's not how you execute java programs.You don't type java *.classYou type java ClassName where ClassName is the namefor your primary class (you know, the class that contains the "public static void main" method)
KathyMcDonnella at 2007-7-11 23:43:03 > top of Java-index,Core,Monitoring & Management...