Craig's Eclipse FAQ
Eclipse is awesome. I've known hard core vi and emacs users who have switched to Eclipse, which is saying something. Like any product, there are a couple things that are good to know. Here are some things I've found handy.
Q: Why does Eclipse tell me I don't have a compiler when I try to run Ant?
A: You need to tell Ant where to find your compiler.
- Go to "Windows...Preferences." * Expand "Ant" and select "Runtime." * Click on the "Classpath" tab. * Under "Ant Home Entries," add the tools.jar from your JDK.
Q: Why does Eclipse peg the CPU on my machine?
A: Are you running Eclipse 3.x? Are you running the Perforce plug-in? Thanks to my co-worker Craig for these tips.
- Turn off any "automatic" stuff in the "Team...Perforce" dialog in "Windows...Preferences." * Under "Background Updates," make the update interval as large as you can. * Uncheck "Monitor changelists..." and "Monitor locally opened files..." * If your CPU is pegged, right-click on the project and do "Team...Sync to head revision."