Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

compilation error - SendMessage.java does not exist

Avatar of mac_g
mac_gFlag for Saudi Arabia asked on
JavaJava EE
59 Comments1 Solution677 ViewsLast Modified:
i am very new to java. I would like to test the code as standalone as well as servlet, which is attached. while compilation i am getting the following error message. i am not setting any class path  here before compilation.

please advice for the resolution
---------------------------------------

SendMessage.java:7: package javax.mail does not exist
import javax.mail.*;
^
SendMessage.java:8: package javax.mail.internet does not exist
import javax.mail.internet.*;
^
SendMessage.java:9: package javax.activation does not exist
import javax.activation.*;


F1.txt
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
Commented:
This problem has been solved!
Unlock 1 Answer and 59 Comments.
See Answers