CS 145 Lecture 0 – Software Setup
In CS 145, we make extensive use of certain software to write and run our code. You’ll need to access this software in one of three ways: 1) by installing it on your personal machine, 2) by heading to university computer labs, or 3) by remotely logging in to virtual machines hosted by the university. We describe each option below.
Installing
Installing the software yourself is the most empowering of your alternatives, but it requires a machine. This machine can run any major operating system. Install the following software. If you have any trouble, please post on the course discussion board rather than email.
JDK
The Java Development Kit turns your Java code into an executable form. Many of us already have the Java Runtime Environment installed on our machines, but this only runs existing executables. You’ll need the full JDK, which you can download from Oracle.
Eclipse
We use the Eclipse code editor to write our Java programs. One could use Notepad or TextEdit to write code, but integrated development environments (IDEs) like Eclipse make generating and running code simpler. (IDEs can also cause problems, but overcoming those is part of our learning.) After the JDK is installed, download Eclipse Mars. The Eclipse IDE for Java Developers is the flavor I recommend (not the EE version), though others are probably fine. Eclipse doesn’t really need to be installed; just unarchive it and put the directory some place safe.
EGit
Your work in this class will be stored on Bitbucket, a website that hosts coding projects. To work with your Bitbucket repository within Eclipse, you’ll need the EGit plugin for Eclipse.
Open Eclipse and select Help / Eclipse Marketplace. Search for and install EGit.
Physical Labs
There are numerous computer labs on campus that have this software installed. Phillips 115 is available to you when no class is meeting. Phillips 107 and Phillips 122 are always available. You may also use the General Access labs.
Virtual Machines
If you’d prefer to use machines which have this software is already installed and configured, you can access a virtual machine. Learning and Technology Services (LTS) has installed the required software on these virtual machines; you must simply log in.
This option requires an Internet connection.