aspose file tools*
The moose likes Beginning Java and the fly likes NoClassDefFoundError after windows' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "NoClassDefFoundError after windows Watch "NoClassDefFoundError after windows New topic
Author

NoClassDefFoundError after windows' "Disk Clean-up Wizard"

toya kin
Greenhorn

Joined: Oct 14, 2005
Posts: 3
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


<a href="http://img76.echo.cx/img76/1457/whitefalconbig4kc.jpg" target="_blank" rel="nofollow">http://img76.echo.cx/img76/1457/whitefalconbig4kc.jpg</a><br /><a href="http://img266.echo.cx/img266/738/finalfantasyviiadventchildren2.jpg" target="_blank" rel="nofollow">http://img266.echo.cx/img266/738/finalfantasyviiadventchildren2.jpg</a>
Periakaruppan Thiagarajan
Ranch Hand

Joined: Jul 26, 2005
Posts: 65
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

Joined: Jul 22, 2000
Posts: 9046
    
  10
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.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NoClassDefFoundError after windows' "Disk Clean-up Wizard"