Add java project along with classpath to make the project work with Eclipse.