• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoClassDefFoundError after windows' "Disk Clean-up Wizard"

 
toya kin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I am a windows user even though i'm not proud of it. One day i used the "Disk Clean-up Wizard"
and then after that i found that when i run my compiled class files it always give me

Exception in Thread "main" java.lang.NoClassDefFoundError: <ClassName>

and i asked my friend and he said that it's probably the windows env variable CLASSPATH or Path is altered, so i changed them both to (added) the JDK bin folder, and i rebooted but i still get the same error message

so if anyone have experienced a same problem or are able to help me i'd really appreciate it
 
Periakaruppan Thiagarajan
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you able to compile and run the same code before disk clean up?
[ December 03, 2005: Message edited by: Periakaruppan Thiagarajan ]
 
Marilyn de Queiroz
Sheriff
Posts: 9065
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and i asked my friend and he said that it's probably the windows env variable CLASSPATH or Path is altered, so i changed them both to (added) the JDK bin folder, and i rebooted but i still get the same error message

What directory are your source files in? Normally you don't want to add the JDK bin folder to your CLASSPATH.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic