Garcia
Member
Yeah, Eclipse is horrible. It's the equivalent of your government in an IDE: built by committee, does everything for everyone in 10 different ways, bloated, hard to find your way around and the documentation is incomplete, misleading and inscrutable, when it's not flat-out outdated. : ) Once you know your way around for what you want to do though, it gets the job done. And there are tons of cool plugins.
Sadly, your assessment is right when you say it's pretty common. Its main advantage is the huge community around it. So, it's a good idea to learn it. If you're a student, I recommend getting your hands on IntelliJ, it's the industry favorite. Never heard of DrJava.
Now for the matter at hand. What I do when I want to run a "quick test in Eclipse":
1. I start a Java project : File -> New -> Java Project
2. Type the name, etc.
3. Finish
3. Once the project is created, expand the project folder
4. Right-click on the src folder
5. Choose New... -> Class in the contextual menu
6. Give it a name.
7. Tick the box that says "Generate main method" or something like that.
8. Finish
9 Type your code in the main method of the class that has been generated.
10. When you're ready to run it, right-click in the editor window.
11. From the contextual menu, choose Run As... -> Java Application
12. If you have print outs (or exceptions!), they appear in the Console window below.
I'm still using Eclipse as well for the lessons of Java I'm taking, but I would like to know which would be the best compiler for Java out there. Is there any program that is the most accessible and straightforward to use and understand? Best performance, etc?
Thanks in advance.