vj#:
Hi,
Ive got existing Java source code that compiles just fine with a number of Java compilers but for some reason I get "VJS1282: Cannot declare type 'java.lang.Object' error" when compiling in J#. Can someone give me a clue as to whats going on? The error is being found at position 1,0 ("p" of package declaration) which leads me to believe that the error possibly has something to do with the encoding of the source file. But I'm just throwing something out there because I can't think of anything else that would throw such a random error. The docs state pretty clearly what would normally throw this error (and its pretty obvious what that would be). But there are no erroneous declarations of "class Object..." so I'm at odds as to what really might be going on here.
I should also note that it happenening in the first file in the project listing. If I delete that file (and associated references to it) it then happens to the file that has replaced its first position.
I'll probably feel foolish when somebody post's the solution to my problem but I'd rather be a fool with my problem solved than the reverse :)
Thanks in advance!
<M:D/>
**********************************************************************
Sent via Fuzzy Software @
http://www.fuzzysoftware.com/