• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

NoClassDefFoundError after windows' "Disk Clean-up Wizard"

 
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
 
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 ]
 
Sheriff
Posts: 9099
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.
 
I am a man of mystery. Mostly because of this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!