java.lang.NoClassDefFoundError


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: java.lang.NoClassDefFoundError

  1. #1
    Join Date
    May 2005
    Posts
    75

    java.lang.NoClassDefFoundError

    I've been writing java programs for a short while now (I'm learning) and never had a problem until today. I use Textpad to write, compile and run my programs and have been using jdk1.4, although I currently have 5.0 (1.5) installed right now.

    All my programs still compile but none of then will run, instead I always get this error...

    java.lang.NoClassDefFoundError

    I think this is happening because I just installed a quicktime update that included java support for its movie files (or something like that). My guess is that the directory path to my compiled class files was changed and I was wondering where I go to fix it.

    Thanks!
    srekcus

  2. #2
    Join Date
    Dec 2003
    Location
    tx/us
    Posts
    131
    Look for CLASSPATH and JAVA_HOME in your environment.

  3. #3
    Join Date
    May 2005
    Posts
    75

    Thumbs up

    Thanks for the help, and changing the Path variable to my java's bin directory worked Quicktime had changed it to this for some reason!

    C:\Program Files\Java\j2re1.4.2_07\lib\ext\QTJava.zip

    I don't think I'll update quicktime again, this isn't the first time it's given me headaches. I once did an update and my video capture software stopped working, and the two are only related because it can convert from the .mov format.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center