2

I'm sorry, I do not have enough reputation to comment on others posts, so I have to ask a new Question.

I'm on ubuntu Linux 11.10, and I'm trying to install the Commons Email in eclipse. But the only files I can download is tar.gz and .zip. These cannot be imported with the method described in the other thread, where you add external jars in the projects libraries. I tried to drag the "src" folder into my "src" folder in my project. That gives the error "... cannot be resolved" What am I doing wrong?

Community
  • 1
  • 1
Strammefar
  • 57
  • 4
  • I tried that, and that doesn't work. As written, I can't import the src folder, and there is no .jar file included. Luckily @Gray came up with a solution. :) – Strammefar Dec 06 '11 at 20:38

2 Answers2

0

Extract either the tar.gz or the .zip file from the files listed under "Binaries", and these will contain the .jar file or files that you are looking for.

ziesemer
  • 27,712
  • 8
  • 86
  • 94
0

Just about all of the Apache commons code is also in the central Maven repository which has jar that are easy to import/use.

http://search.maven.org/#browse%7C-990531281

I just went to the search bar and looked for apache commons email:

http://search.maven.org/#search%7Cga%7C1%7Capache%20commons%20email

Gray
  • 115,027
  • 24
  • 293
  • 354