views:

58

answers:

2

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

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

+3  A: 

Eclipse is automatically compiling your code on the fly.

Darin Dimitrov
Thanks, I didn't know that.
Jonas
Actually that's an option which could be disabled in which case you could compile manually.
Darin Dimitrov
+2  A: 

You can un-tick the build automatically in Project tab and then build by hand.

Cristina