Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why this can't be compiled here but can in any other folder

 
Ren Shao
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic