I am using Eclipse and have not used Java for sometime. However, I can compile my code on the command-line just fine and generate the necessary .class files. In
.class
Create directory [your.project.name] in workspace root directory of your project.
Copy *.java from "src" to that directory.
Close and reopen project.