CSC300: Tools

Contents [0/8]

Video [1/8]
Tools [2/8]
Install Graphviz [3/8]
Install code for this class [4/8]
Install Java 11 [5/8]
Install Eclipse [6/8]
Start eclipse in the eclipse-workspace you downloaded before [7/8]
Disable some warnings [8/8]

(Click here for one slide per page)


Video [1/8]

Here are videos walking through the installation steps on MacOS and Windows. You only need to watch one.

Watch the video even in you already have eclipse installed: skip to the part where I start eclipse and set up the workspace for the class.

Open Playlist

Open Playlist

Tools [2/8]

Follow these steps, in order:

Mostly, we take the defaults during installation. There is one important exception. When eclipse prompts you to create a module, say NO.

install-eclipse-new-project3

Install Graphviz [3/8]

This step is necessary to draw the pictures, which is useful for debugging.

It seems that the install page for windows is a little messed up right now... Try using this installer for windows

On windows, download and install Graphviz from here: Graphviz
install-graphviz-windows

On the mac, you need to install Homebrew
install-graphviz-mac

Once you have homebrew, just enter the following commands on the Terminal:

brew update
brew install graphviz

Install code for this class [4/8]

Quick links:

Step-by-step:

Install Java 11 [5/8]

We will use Java 11. It is easiest to use eclipse if you remove any other versions of Java from your machine.

You can download Java 11 from Amazon or adoptOpenJDK

JDK stands for Java Development Kit.

Install Eclipse [6/8]

Install the Eclipse IDE for Java Developers from here: Eclipse Downloads

Get the most recent version.

You should get Eclipse IDE for Java Developers. The main difference between versions is the number of packages that come pre-installed. This is the smallest version that has everything we need.

install-eclipse-download1
install-eclipse-download2
install-eclipse-download3
install-eclipse-download4
install-eclipse-download5
install-eclipse-download6

Start eclipse in the eclipse-workspace you downloaded before [7/8]

Mostly, we take the defaults during installation. There is one important exception. When eclipse prompts you to create a module, say NO.

install-eclipse-new-project3

Disable some warnings [8/8]

install-eclipse-warnings0

Disable warnings for unnecessary code. LEAVE ALL OTHER WARNINGS AT THEIR DEFAULT VALUES.

install-eclipse-warnings1

On windows, the "Preferences" option is under "Window" instead of "Eclipse"

  Go to "Eclipse/Window" > "Preferences" > "Java" > "Compiler" > "Errors/Warnings" > "Unnecessary code"
  Set the following to "Ignore"
    "Value of local variable is not used"
    "Unused private member"

install-eclipse-warnings2

Revised: 2008/03/17 13:01