After having complied and then run 1st program, the complier list the bug, then I try to click out some commands. After that I complie 2nd file and run it. The complier still replies the 1st error message. I'm still thinking what I can deal with it. Anybody know how to do ?
and what does your code look like that's causing the error? Just as a hint -- you can use [CODE] tags to surround your code and preserve the whitespace when you post it.
You never stated that you actually re-compiled the first program and got a clean compile. Also, make sure that there are not other .class files with the same name in other directories that might be in the classpath, and the compiler might pick up on them first.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Alas, poor Yorick, he knew this tiny ad:
a bit of art, as a gift, that will fit in a stocking