Compile and run the Java program (link below) using the steps provided, and save the output to your
a0/ subdirectory in your Git repo.
- Install Java 8 JDK on your machine and verify that it's working properly.
- Install a Git client, and configure it to work with the CS349 assignment repository.
- Learn how to clone, add and commit files, and push your Git repo.
The following steps can be performed on any modern OS (e.g. Windows, OS X, Linux). More detailed instructions on using Git, if required, are available here.
- Install Java 8 JDK ("Java SE Development Kit 8u102") for your OS from the Oracle downloads site. Verify that it's installed correctly by running
java -versionfrom the command-line on your machine.
- Install Git on your machine. You have a choice of a command-line or GUI client. Mac and Linux machines have the command-line client preinstalled. Windows users can install the Windows binaries from the main Git site.
- Checkout a working copy of the repository according to the instructions on the course website.
- You should see an empty "a0" folder in your local working copy. Copy
Check.javafrom here into
a0/, compile it (
javac Check.java) and run it (
java Check) to produce a file named
- Add both the program and the results.txt file to your working copy (
git add Check.java results.txt), commit your changes (
git commit) and push to the server (
- You are encouraged (but not required) to install an IDE. It makes programming a lot easier! IntelliJ and Eclipse are the ususual choices for Java programming and both have free versions.
There is no grade for this assignment, but you need to complete it before you can complete any other assignments.