This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
In step 5, I would click the "public static void main(String[] args)" checkbox.
Greg Brannon
Bartender
Joined: Oct 24, 2010
Posts: 530
posted
0
You've used "compiling" to be the same as "running," which isn't entirely correct. I don't know if Eclipse allows one to compile Java source code to class files without running the project. It seems not, but maybe I just haven't figured out how, and in spite of its title, this How To doesn't show me.
Learning Java using Eclipse on OpenSUSE 11.2
Linux user#: 501795
Greg Brannon wrote:I don't know if Eclipse allows one to compile Java source code to class files without running the project.
Yes, it does this. By default is does this automatically every time you save the java source file. You can change this in the Preferences under General | Workspace. If you turn off automatic builds, you can right-click a project and select Build Project.