To do the homework and projects for this class, you’ll need Scala and some course-specific software. We recommend installing Scala on your own machine. If you have a lot of trouble, you can use the virtual machine discussed below.
If you already have Java installed, you need to ensure that it is Java 8 or higher.
Install SBT
Install Cygwin.
Verify that everything installed by typing sbt
to start SBT from the
Cygwin terminal.
sbt command not found
Known Fix: Restart the computer
Backspace not working
Known Fix: Left-Click on the top left corner of the Cygwin window (the Cygwin icon), then click on Options > Keys. Check the “Back arrow sends ^H”
Install Homebrew.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install Java from the Terminal:
brew cask install java
Install SBT from the Terminal:
brew install sbt
To verify that everything installed, type sbt
to start SBT.
Install Java 8:
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
sudo apt-get install -y oracle-java8-installer
Install SBT:
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install sbt
To verify that everything installed, type sbt
to start SBT.
To use the virtual machine, you will need at least 4 GB of RAM and a modern processor.
Download and install VirtualBox
Download compsci220.ova (1.1 GB)
Double-click on the compsci220.ova
file you downloaded above (or, select
Import Appliance from the File menu and select the file). When you do,
VirtualBox will start and display a prompt called Appliance Settings.
Do not change any settings. Just click the Import button. When importing
completes, the virtual machine will appear in VirtualBox, as shown below:
Select the CS220 virtual machine and click the Start button. If the machine starts successfully, you will see the desktop shown below:
To test that everything is working correctly, start Firefox within the virtual machine and ensure you can browse the Web. You’ll find a link to Firefox within the start menu in the bottom-left corner:
For the curious, this virtual machine is running Lubuntu Linux 14.04 (32-bit).