Hi there
Please can you tell me what i'm doing wrong:
I can run my program with this command in windows xp
C:\myProject\source3>
java -cp c:\myproject\classes com.corp.Duck
I then
test the classpath to check it is set to c:\myproject
C:\myProject\source3> echo %CLASSPATH%
c:\myproject
So I then thought that this command would also run my program:
C:\myProject\source3>java -cp \classes com.corp.Duck
but I get
Exception in
thread "main" java.lang.NoClassDefFoundError: com/corp/Duck
I don't understand why it doesn't work.
Thanks in advance