Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"Package javax.mail not found in import"

14 views
Skip to first unread message

Vance Arocho

unread,
Jul 14, 2000, 3:00:00 AM7/14/00
to
I added the following import statements to one of my source files

import javax.mail.*;
import javax.mail.internet.*;

and got the following errors when I tried to compile the file:

Package javax.mail not found in import
Package javax.mail.internet not found in import

The 'Classpath Settings' on the 'Internal VM' tabpage on
the 'Environment Options' window includes in part the following files:

c:\Software\JavaMail\jaf1_0_1.zip
c:\Software\JavaMail\javamail1_1_2.zip

So I don't understand why I'm getting the 'Package not found' error
messages. Anyone got any ideas?


Sent via Deja.com http://www.deja.com/
Before you buy.

Vance Arocho

unread,
Jul 14, 2000, 3:00:00 AM7/14/00
to
I figured out my mistake: I need the activation.jar and mail.jar files
in the classpath, not the .zip files. Oy vey.

In article <8klpof$dee$1...@nnrp1.deja.com>,
Vance Arocho <varo...@my-deja.com> wrote:
> Using: Visual Cafe 3.0, Professional Edition

0 new messages