| | |
Unsure of where to put classpath for mail.jar
![]() |
•
•
Join Date: Oct 2004
Posts: 2
Reputation:
Solved Threads: 0
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
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.
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
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.
•
•
Join Date: Oct 2004
Posts: 2
Reputation:
Solved Threads: 0
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
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
![]() |
Similar Threads
- Problem with Spring Mail Sender (Java)
- Adding images to JAR file (Netbean 5.0) (Java)
- About How to run JavaMail programs?? (Java)
- How to 1include 100 jar files in classpath (Java)
- How to send mail (JSP)
- error while running jar file (Java)
Other Threads in the Java Forum
- Previous Thread: Cylinder surface, area, height etc etc
- Next Thread: How to do constructors
| Thread Tools | Search this Thread |
android api applet application apps array arrays automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) card class classes client code collision columns component constructor crashcourse database designadrawingapplicationusingjavajslider draw eclipse error errors eventlistener exception expand fractal free game givemetehcodez graphics gui guidancer html ide image inetaddress integer intellij j2me java javadoc javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia linux list loop machine map method methods migrate mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle plazmic print problem program project radio recursion scanner server set sharepoint smart sms smsspam sort sortedmaps sql string subclass support swing textfield threads tree unlimited utility webservices windows





