javaeclipsecompilation.class-file

How can I compile a Java program in Eclipse without running it?


I would like to compile my Java program in Eclipse but not to run it. I can't understand how to do it.

How can I compile a Java program to .class files in Eclipse without running it?


Solution

  • You can un-check the build automatically in Project menu and then build by hand by type Ctrl + B, or clicking an icon the appears to the right of the printer icon.