java.lang.NoClassDefFoundError

Why is it that like 1% of the time I run my program, I get this error? In addition, I sometimes get a FileNotFound Exception for one of the txt files around 1% of the time. Is it that the process of creating the executable jar file is not consistent, or does the file get corrupted? how does this happen?

Note: this is not just a matter of me not including the classfile in the jar or not including the txt file because it works most of the time.

Thanks

[472 byte] By [Nethera] at [2007-11-27 7:29:50]
# 1
?
hiwaa at 2007-7-12 19:10:00 > top of Java-index,Java Essentials,Java Programming...
# 2
dude this error usually occours when classpath is not set rightyou need 2 set the classpathfor information on this search googlebecause i dont remember now how i corrected this problem some days agobut i hope this direction wud help youcheers
noobs_will_rulea at 2007-7-12 19:10:00 > top of Java-index,Java Essentials,Java Programming...