File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Recongnition of Classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Recongnition of Classes" Watch "Recongnition of Classes" New topic

Recongnition of Classes

Nick George
Ranch Hand

Joined: Nov 17, 2003
Posts: 38
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...
Joe Ess

Joined: Oct 29, 2001
Posts: 9168

Check your classpath

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Recongnition of Classes
It's not a secret anymore!