Anscii code, Please help
1 posts in topic
Flat View  Flat View

Posted By:   learner_java
Posted On:   Monday, July 14, 2003 07:09 AM

hi all!
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.

Re: Anscii code, Please help

Posted By:   Christopher_Koenigsberg  
Posted On:   Monday, July 14, 2003 07:17 AM

It's called a "compiler"...

About | Sitemap | Contact