javamail problem in fetching mail from pop3

when i run a prograam to fetch mail from pop3 i get a exception as

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/SharedByteArrayInputStream

at com.sun.mail.pop3.Protocol.multilineCommand(Protocol.java:284)

at com.sun.mail.pop3.Protocol.top(Protocol.java:179)

at com.sun.mail.pop3.POP3Message.loadHeaders(POP3Message.java:392)

at com.sun.mail.pop3.POP3Message.getSize(POP3Message.java:89)

at msgshow.dumpPart(msgshow.java:221)

at msgshow.main(msgshow.java:200)

please can any one help me.

thanks in advance

mail me on ssbreddy@yahoo.com

[642 byte] By [shony] at [2007-9-26 3:30:30]
# 1
com/sun/mail/util/SharedByteArrayInputStream is in the JavaMail 1.2 mail.jar file. Are you providing this jar in the classpath?
cknelsen at 2007-6-29 11:56:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
i got the answer
shony at 2007-6-29 11:56:08 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...