Hi
I recently downloaded JMK MAKE to use with "Thinking in Java." It organizes files. If anyone is using it I'd appreciate hearing from you. One of the sample programs from the book won't run.
When I compiled the program Assignment.java from
> chapter three (c03) of Thinking In
Java, a new folder
> is automatically created in the directory and named
> c03. In this folder is the Assignment.class. This is
> the command I use:
> c:\j2sdk1.4.0_01\MySourceCode>javac -d
> /j2sdk1.4.0_01/MyByteCode Assignment.java
>
>
> When I try to run the program with the command
> c:\j2sdk1.4.0_01\MyByteCode>java Assignment, I get the
> following error:
>
> Exception in
thread "main"
> java.lang.NoClassDefFoundError: Assignment
>
> or within the folder c03
>
> c:\j2sdk1.4.0_01\MyByteCode\c03>java Assignment
>
> Exception in thread "main"
> java.lang.NoClassDefFoundError: Assignment (wrong
> name c03/Assignment)
>
> Do you have any idea why the program cannot find
> Assignment.class? Could the JMK MAKE file be
> affecting this?
>
>