I will share to you my experience on programming with java using Eclipse IDE. I encountered an error upon running my program that says unable to find ant file. Ant file is a compiler file that runs on every java program at compile time. If eclipse does not not include those ant files, then you will have a problem compiling your java program.
Why Ant file error occur upon running or compiling your java program?
In eclipse, if you are opening a java file and running or compiling it without the default package or your define package, it will not compile and give you ant file not found. So you will have to open a java program with corresponding jre files and all source files if needed to run your program.
In running Eclipse, you must set your workspace so that all bin or jre files you set will point out to that workspace.
That's it guys.