aspose file tools*
The moose likes Java in General and the fly likes Need the steps for inserting Java mail API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Need the steps for inserting Java mail API" Watch "Need the steps for inserting Java mail API" New topic
Author

Need the steps for inserting Java mail API

Ishan Pandya
Ranch Hand

Joined: Feb 06, 2012
Posts: 223

How do we add mail API in jdk6? i have downloaded the javamail1_4_5.zip but don't know how to proceed with it. Can anyone please help me out with steps of adding mail API..


OCPJP
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 498

Ishan Pandya wrote:How do we add mail API in jdk6? i have downloaded the javamail1_4_5.zip but don't know how to proceed with it. Can anyone please help me out with steps of adding mail API..

I would be pretty easy:
- extract the zip file.
- find javamail-xxx.jar file.
- add the jar file to your project's classpath.


PM Me If You Want to get Urgent Help on Java Programming
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14348
    
  22

Note this information on the JavaMail page: Besides the JavaMail JAR, you'll also need to include the JAR file for the JavaBeans Activation Framework.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19761
    
  20

Only if you're using Java 5.0 or before. Since Java 6 javax.activation is included in the JRE.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need the steps for inserting Java mail API