when i try to create a new project actually it is giving some new out put folder in such a way that it could not identify the packages in the project but in help they mentioned to configure new java project with windows-preferences-java-newproject but that option is not there in editor plz help me out in this regard.
You might find this chapter of Eclipse Live Book helpful for you... I'm not sure whether your problem can be solved by rading that chapter or not... Anyway, it might give you the basic solution how to build a new project in Eclipse properly...
I'm not sure I understand what you are struggling with, perhaps eclipse doesn't know where your source is?
Right-click on the project directory in eclipse, select "Properties". Select "Java Build Path", and look at the "Source" tab to see where it thinks your source folders are. Check the other tabs to add required projects or libraries to your classpath.