Monday, July 14, 2003 07:09 AM
I created a Homework.java in notepad and typed
at c:>java junit.swingui.TestRunner junit.samples.HomeWork
I got an error "can not find class HomeWork"
in the C:junit3junitsamples directory I only have HomeWork.java but not class. When I opened the notepad and wrote a HomeWork.class and run as I typed below, this time it compplained "bad magic number"..
as someone answered my last question, he said that that's because my HomeWork.class is an anscii file. Yes it's because I typed it..
How do I fix this? thanks.