Can you provide more information about what you're trying to accomplish?
Eclipse compiles multiple java source files for you every time you hit the green run button...
All of the .java files that are stored inside of the src/ folder get compiled and turned into .class files inside of a bin/ folder (for a basic Eclipse project) or a target/ folder (for a maven project).
Eclipse then runs those compiled .class files using the Java Virtual Machine.