Perry Smith

Java Questions & Answers

Home / Java Q & A Archive Page 3 / Java Q & A Archive

JAVA Mail
Tuesday, 02-Feb-99 22:40:51

202.141.26.2 writes:

Hi!
Does jdk1.2 support JavaMailAPI version 1.1? When i set the classpath to the directory contains activation.jar and mail.jar i am getting the following error
"exception in thread main java.lang.NoClassDef FoundError".
After setting the classpath i am not able run any programs. If i unset the class path then it becomes OK. Please Clarify Me

Surendra Kumar


Response
Re: JAVA Mail
Thursday, 04-Feb-99 20:59:10

152.172.204.192 writes:

When I upgraded to JDK 1.2, that error seemed to pop up a lot more often. It seems that you have to include the current directory in any classpath statement with
javac *.java -classpath .;c:\whatever -g
And with my Win95, I had to remove my java\bin directory from the path statement in c:\autoexec.bat and the set path staement in c:\config.sys Hope that helps. MikeD


Home / Java Q & A Archive Page 3 / Java Q & A Archive