Search code examples
javaantjarfileutils

Using FileUtils in eclipse


When trying to use FileUtils I get "cannot be resolved" error.

enter image description here

Then, how do I install FileUtils library to be able to use it in Eclipse? I see it is an Ant utility, but I am not sure how many jars I need to install.

enter image description here


Solution

  • Open the project's properties---> Java Build Path ---> Libraries tab ---> Add External Jars

    will allow you to add jars.

    You need to download commonsIO from here.