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

Recongnition of Classes

 
Nick George
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Right... so i installed java on my new computer the same as i'd done it on the about 8 other computers i'd done so on... Programs created on this computer will compile fine, but when i try to run said programs, i am informed of a NoClassDefFoundError. As best as i can hypothesize, my computer is(for some reason) not recongnizing class files. further supporting this hypothesis is the fact that when i try to access a method from another (already compiled) class, the program will not compile as it does not recongnize any outside class to draw the method from. So, as i see it, .class files are somehow invisible to the computer. Any time i try to access a class, be it "java _" or using a method from a class, it draws up blanks...
I'm at about my wit's end...
Thanks,
Nick
 
Joe Ess
Bartender
Pie
Posts: 9257
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check your classpath
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic