3 Replies Latest reply: Feb 23, 2007 11:46 PM by 807606 RSS

    getting NoClassDefFoundError for library I'm trying to use

    807606
      I'm using eclipse and I imported a library into my project through the option
      Add External Archives...

      I imported the library --> import jdbm.helper.Conversion; in my code, used the methods i needed and ever thing compile right
      (by the way I'm running this from main() )
      so i type java maintest in command prompt to run the program and i get:

      Exception in thread "main" java.lang.NoClassDefFoundError: jdbm/helper/Conversion

      the jar file that i'm using is in C:\Program Files\Java\jdk1.6.0\jdbm-1.0\lib
      I put this path in my CLASSPATH variable and still nothing

      what to I do?

      Thanks
      Mac