Grumpy Old Mlk Time (bye bye rep points):
You have to actually learn Java and the tools not just string together odd snippets of code.
In this case I recommend you head back to your original thread on this subject and read the tutorial I posted and ignore Commons IO for now. You are going to a lot of trouble to avoid a very small amount of boiler plate code.
One you have done that it might be worth reading a little about the classpath and how one configures that (called the build path) in Eclipse.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…