|
0. Eclipse is available in the lab. Simply type in eclipse, you are in. 1. Upon the lauch, you will be prompt to choose the workspace directory. You can choose any directory you like but I suggest you choose the directory where you do the course projects. For example, if my projects are under ~xmi/cs428 (so the directory of my project 1 is ~xmi/cs428/proj1, which I have copied from the professor's directory as required), then just use ~xmi/cs428. 2. Click "OK" button, you will see a welcome screen (if it's the first time you use eclipse under that workspace directory), just dismiss it. 3. To the left of the elipse window, you will see a docking windows titled "Package Exploer", right click within that, choose menu item New->Project and choose Java Project. 4. The New Java Project dialog pops up. As the picture shows, you can either select "Create new project in workspace" by entering the directory of the skeleton code as the project name or "Create project from existing source" and choose the skeleton code directory. Click "Next" 5. You will at the Java Setting dialog, where you click the "Libraries" tab, and tell Eclipse that you need jogl.jar and vecmath.jar. To do this, you should click button "Add External JARs..." You should choose the jar files from the professor's directory "~decarlo/428/lib". Click Finish 6. Now you are ready to start but one last step is to choose the right JDK. Since we are using jdk1.5, you click the menu Window->Preference to open the Preference dialog. Expand the tree control on the left by clicking Java->Compiler, set the JDK compilance level 5.0. As shown here. 7. Have fun! Note: 1. You can try to download and use eclipse on your own machine. The setup under windows is very similar to under linux. 2. Netbeans is also installed in the lab machines. Type in netbeans in the terminal to launch it. Since it's so similar to eclipse, it's left for you to figure things out if you choose to use netbeans. |