Mihai Bujanca
Mihai Bujanca

Reputation: 4219

commons-net-3.1

Sorry if it is a stupid question, but I can't figure out how to do this... I downloaded commons-net-3.1 from commons.apache.org and I don't know how to have it in my Java System Library or anywhere else I can use it from. I need to use org.apache.commons.io.FileUtils.

Upvotes: 1

Views: 480

Answers (2)

Esteban Araya
Esteban Araya

Reputation: 29664

This might be overkill for what you're trying to do, but please use a dependency management system instead of managing your dependencies manually. It's a bit more setup now, but you'll reap the rewards later (and anyone else working on your project will thank you).

Take a look at maven, for example.

Upvotes: 1

Adil
Adil

Reputation: 3268

You need to import/add jar file to your project by browsing to downloaded/extracted binaries folder.

For example in Eclipse, right click on project -> build path -> libraries -> add external jar

Upvotes: 1

Related Questions