Chose Build Java Project from the Project menu.