Title: Eclipse
Course: CPS 261: Advanced Java Concepts ~ DL & MM MASTER

A Few Tips on Using Eclipse

I don't claim to be an expert on Eclipse, but the following notes are meant to be useful things that I use in Eclipse.

1. Eclipse is a general purpose Interactive Development Environment and is meant for work other than Java. So, one of the first things you need to select is:
Window-->Open Perspective --> Java
This tells Eclipse that you want a Java environment.
2. I have found that I like keeping my files external to Eclipse in a separate area. At school, you might want to use the H:cis269 area for this work so that you won't lose work if your machine reboots. At school, please create a directory under H:cis269 to contain all of your work.
3. Create an Project in Eclipse. Choose File/New Project ....
Choose Java/Java Project for your Project Type and then click Next.
I always click the radio button labeled "Create Project at an External Location".
You then browse to the external location, and give your project some name.
At this point your project should show up in the Package Explorer.
4. Once you have a project, you can right click on the Java file that contains the main routine and select Run. Eclipse does automatic compiles (if needed) by default before launching your program.

January 12, 2006 4:17 PM