Skip to Content
avatar image
Former Member

java.lang.noclassdeffounderror

i know that normally this error is because of the classpath and the path, but i think that it is correctly.

my classpath is:

.;C:jorgejdkpruebael apiCOMMAPIcomm.jar;C:j2sdk1.4.2_04lib ools.jar

and the path is:

C:j2sdk1.4.2_04 in

i am using the javax.comm packet, i can compile good the class, but i canĀ“t execute it, it gives me java.lang.noclassdeffounderror.

does anybody know the error?

thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 03, 2004 at 08:59 AM

    Hi Carl,

    it seems, that you have the javax.comm jar(s) added to your build path but not to the classpath used at runtime.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded