944,123 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 5558
  • Java RSS
Oct 5th, 2004
0

Unsure of where to put classpath for mail.jar

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dianathomas is offline Offline
2 posts
since Oct 2004
Oct 8th, 2004
0

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

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


Quote 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
Reputation Points: 17
Solved Threads: 1
Junior Poster
cosi is offline Offline
153 posts
since Aug 2004
Oct 8th, 2004
0

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

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dianathomas is offline Offline
2 posts
since Oct 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Cylinder surface, area, height etc etc
Next Thread in Java Forum Timeline: How to do constructors





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC