Change Contents of the Bubble
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Additional IDEs

IDE's (Integrated Development Enviorments) are programs that are created to assist computer programmers in the writing and developing of code. Most IDE's allow for a user to manage whole projects programmed in a certain language and allow for easy package management. While Dr. Java is the main IDE taught in this class, there are many other IDE's that have their own upsides and downsides that can be used in its place. Below, I will show how to set up 3 of the most popular IDEs for Java developers. All of these are free to everyone.




Eclipse

Net Beans

BlueJ



Eclipse Instructions


Visit the Eclipse Homepage


Windows Setup



  1. Download the latest eclipse IDE from the eclipse website above.

  2. Unzip the zip file to the location you wish to keep the eclipse folder. (i.e. C:\eclipse)

  3. Navigate to this folder, and double-click the eclipse.exe icon to start ecliipse

  4. You will than be presented to select a workspace. Your workspace folder will be where all your source code and compiled code will reside. NOTE: You can select a new workspace each time you open eclipse if you dont check the checkbox, this allows you to create multiple workspaces for each class that might require coding.

  5. After opening eclipse.exe, you will be presented with a screen similar to the following:
    Uploaded Image: eclipse-welcome.jpg
    Click on the workbench link on the far right.

  6. We will now start a new project, which you can do by using the file menu on the top bar, than do new, and lastly, project. This is shown below:
    Uploaded Image: eclipse-new-project.jpg

  7. Select "Java Project" from the list and click the Next button

  8. Type a project name in the box and click the Next button

  9. At the "Java Settings" page, click "REMOVEDk Additional Source Folders"
    Uploaded Image: eclipse-add-source.jpg

  10. Using the browse button, find the "java-source" folder downloaded from the cs1316 website, and click OK, than finish.

  11. Use the "REMOVEDk Additional Source Folders" button again to add the "jMusic/inst" folder. NOTE: You must click on the project name to for the button to become active again

  12. Than use the "Create a new Source Folder for the Project" button located next to the "REMOVEDk Additional Source Folders" button. Give this folder a name and click Finish

  13. Next, click on the libraries tab, your screen should look like the following:
    Uploaded Image: eclipse-add-libraries.jpg

  14. Use the "Add External JARs" button and browse to the jmusic.jar file and click Open.

  15. Click Finish to create the project.

  16. To create a new java class, right click on the source folder you create (not java-source or jmusic/inst), and select new, than Class.

  17. You will now be presented with a Class creation screen, give this class a name, and click finish

  18. You are now set to code in eclipse






Net Beans Instructions


Visit the Net Beans Homepage


Windows Setup



  1. Download the latest Net Beans IDE from the website above.

  2. Install Net Beans onto your computer

  3. Use the icon installed on the desktop to start Net Beans, you should receive a screen similiar:
    Uploaded Image: netbeans-startup.jpg

  4. Click the New Project button in the upper left hand corner (or ctrl+shift+n)

  5. You will now see a screen similar to this:
    Uploaded Image: netbeans-new-project.jpg
    Select Java Application from the General folder and click Next

  6. Type a name for this project in the provided field.

  7. Set the project location to the desired location on your Hard Drive.

  8. In the field "Create Main Class", you should see <your-project-name>.Main, Erase this field and type the name of the class which will contain the method, main NOTE: If you do not erase your project's name before the class in this field, you will create a package other than the default package, and will need additional imports for your project to work.
    Your Screen should now look similar to this:
    Uploaded Image: netbeans-project-main.jpg

  9. After your project has been created, locate your new project folder in the upper left corner. Right click on the folder named "Libraries" and select "Add Jar/Folder..." as shown below:
    Uploaded Image: netbeans-add-source.jpg

  10. Select the location of the "java-source" folder downloaded from the cs1316 website

  11. repeat the steps above for the jmusic/inst folder and jmusic.jar file

  12. You are now ready to use Net Beans to code java




BlueJ Instructions


Visit the BlueJ Homepage


Windows Setup



  1. Download the latest BlueJ IDE from the website above

  2. Install BlueJ on to your local Hard Drive

  3. Start BlueJ using the icon placed on your desktop, you will be greeted with a screen similar to this:
    Uploaded Image: bluej-startup.jpg

  4. Use the Project menu and select "New Project"

  5. Select a location and give your project a name and click Create

  6. Use the Tools menu and select "Preferences" (Or ctrl+comma)

  7. Select the "Libraries" tab at the top, you should be at a screen similar to this:
    Uploaded Image: bluej-preferences.jpg

  8. Click the Add button and choose the location of the "java-source" folder downloaded from the cs1316 website

  9. Repeat the step above for both the jmusic/inst folder and jmusic.jar file.

  10. Click OK to confirm these changes, than OK again for the popup dialog box.

  11. To create a class, use the New Class button on the left hand side.

  12. You will see a dialog like the following:
    Uploaded Image: bluej-new-class.jpg
    Type the name of the class you wish to create, and select the type of class it will be

  13. A new box will appear in the project display window with the name of the class you created

  14. To edit this class, double click the class box

  15. You are now ready to code java in BlueJ's IDE



Links to this Page