Course Software

In this course you will be using the Java programming language and the Eclipse integrated development environment. These are already installed on all the laboratory computers on campus. Both of these are free software that you can download and install on your own computer.

If you have trouble with these instructions, please let us know.

Setting up Java on Windows or a Mac

You will be installing the Java Development Kit from the Web.

  1. To download Java, go to https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html
    This is the download site for the free Amazon Corretto version of the Java 11 - Java Development Kit (JDK).  Java 11 is installed on the lab computers, and using the same version will avoid possible compatibility problems if you move files between machines. On the download page scroll down to the table of download choices, and in that table scroll down to find your computer:

  2. Click on the appropriate version for your computer, for Windows download the .msi installer, for macs download the .pkg package which contains the installer.
  3. Run the installer and accept all of the default choices during installation.
  4. After you finish installing java, you can delete the .msi or .pkg file.
Downloading Eclipse
  1. Go to https://www.eclipse.org/downloads/packages/release/2021-06/r/eclipse-ide-java-developers
    This is the version of Eclipse which is installed in the labs. Use this version to avoid compatibility conflicts.
  2. Eclipse download
  3. Click the "Download ..." button.
  4. download
  5. This takes you to a second page to download the version that matches your machine
  6. Run the downloaded installer file (on macs double click the Eclipse installer) (Be patient. At times this is slow.)
  7. installer
  8. Click on "Eclipse IDE for Java Developers"
  9. installer 2
  10. Check that it is using the Corretto jdk
  11. On Macs note the installation folder for later
  12. Click [INSTALL].
  13. Accept the unsigned content warning.
  14. [Launch]

Running Eclipse for the first time
  1. When you run Eclipse for the first time, it will ask you to choose a folder for your "workspace" where it will keep your files. I just accepted the default location. You also might consider putting it on you USB flash drive if you want to bring it into the lab or other USM computers.
  2. When Eclipse first starts you will see a Welcome page. To get rid of it just click on the X on the Welcome tab.
  3. Follow the instructions in Lab1 to write and run your first program and make sure everything is working.
On macs move eclipse to the applications folder
  1. On macs the executable Eclipse.app is put in the installation folder that you noted during installation. Open that folder in Finder:  Go > Computer > Macintosh HD > Users > ..., and drag and drop Eclipse.app into the Applications folder.