Mike George
Mike George

Reputation: 521

How To Embed JAR Library into Project with Eclipse

I am working on a bukkit plugin (for Minecraft) and I would like to include the JavaMail JAR, I am using eclipse to develop the plugin and I cannot figure out how to make it reference the included mail.jar when the mail function executes.

Upvotes: 1

Views: 2411

Answers (1)

Carlos Gavidia-Calderon
Carlos Gavidia-Calderon

Reputation: 7253

Paste the JAR file within a folder in your Java Project, then Right-Click-> Properties -> Build Path-> Libraries-> Add External Jar and select the JAR you just included.

Upvotes: 3

Related Questions