Unsure of where to put classpath for mail.jar

Reply

Join Date: Oct 2004
Posts: 2
Reputation: dianathomas is an unknown quantity at this point 
Solved Threads: 0
dianathomas dianathomas is offline Offline
Newbie Poster

Unsure of where to put classpath for mail.jar

 
0
  #1
Oct 5th, 2004
Hi there.
My name is Diana Thomas. I am a junior Java Developer who needs a bit of help.

I am trying to automatically send e-mails from my Java servlets.
I am using JDeveloper with Oracle 10g.

I have got the mail.jar and the activation.jar from the JavaMail and JavaBeans Activation Framework respectivley.
I have created a "classpath" enviroment variable in the advanced functions in "My Computer" and added these jar files to the classpath.

I don't think this is enough for the compiler to see these classes.
I am sure I need to add these paths somewhere in JDeveloper(Oracle).

Could anyone possibly help me with this?????????????

Many Thanks

Diana Thomas
Last edited by alc6379; Oct 5th, 2004 at 5:33 pm.
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 153
Reputation: cosi is an unknown quantity at this point 
Solved Threads: 1
cosi's Avatar
cosi cosi is offline Offline
Junior Poster

Re: Unsure of where to put classpath for mail.jar

 
0
  #2
Oct 8th, 2004
Hi,

You don't have to modify the classpath if you put those jar files in your JAVA_JRE_DIRECTORY/ lib/ext. What Servlet server are you running? There are also standard locations in servlet servers to put .jar files in.

Ed


Originally Posted by dianathomas
Hi there.
My name is Diana Thomas. I am a junior Java Developer who needs a bit of help.

I am trying to automatically send e-mails from my Java servlets.
I am using JDeveloper with Oracle 10g.

I have got the mail.jar and the activation.jar from the JavaMail and JavaBeans Activation Framework respectivley.
I have created a "classpath" enviroment variable in the advanced functions in "My Computer" and added these jar files to the classpath.

I don't think this is enough for the compiler to see these classes.
I am sure I need to add these paths somewhere in JDeveloper(Oracle).

Could anyone possibly help me with this?????????????

Many Thanks

Diana Thomas
In a world without walls or fences,
What use are Windows and Gates.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 2
Reputation: dianathomas is an unknown quantity at this point 
Solved Threads: 0
dianathomas dianathomas is offline Offline
Newbie Poster

Re: Unsure of where to put classpath for mail.jar

 
0
  #3
Oct 8th, 2004
Hi cosi.
Thanks so much for your help and time. I really appriciate it.
What I've done is put the path in the "System Libraries" option in JDeveloper.
It seems to be working fine. Thanks for the info on the "Java_JRE_DIRECTORY/lib/ext" file. I will put my paths there in future!

Thanks again

Diana Thomas
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC