why this can't be compiled here but can in any other folder
Joined: Dec 23, 2002
this code can be compiled in any folders except e:\java\ why??? the error is: [ edited to preserve formatting using the [code] and [/code] UBB tags -ds ] [ January 01, 2003: Message edited by: Dirk Schreckmann ]
Joined: Dec 10, 2001
I'm not able to recreate your problem. The code compiles fine for me in e:\java and I'm not noticing any mistakes that you're making.
Does the E:\java folder contain any other .class files? Like maybe an Object.class? Why, I have no idea - but it would explain the error messages you see. They complain about an Object class rather than java.lang.Object, which means you've managed to redefine the fundamental base class of all reference types. This is probably a bad thing. [ January 01, 2003: Message edited by: Jim Yingst ]