These instructions assume that you have already activated your CS account.
Login to one of the Linux workstations.
See CS Instructional Labs page for room numbers.
- Select an open workstation (computer).
- Move mouse or type key to wake up the computer and get a login prompt. If the computer is locked, choose a different workstation. If there is no other workstation, email lab that there is a computer locked without a user.
- Type your CS username and press Enter.
- [First login only] choose a desktop environment. This document assumes the Ubuntu (default) desktop is chosen.
- Type your CS password and press Enter.
- Wait for the chosen environment to finish setting up.
- [Optional] Read keyboard shortcuts page for some ideas about what shortcuts are available.
Create folders for your CS367 course work.
- Click the File icon. (2nd from top of left navigation menu)
- Click the private folder to open this file folder. (files and folders in private are not visible to other users)
- Right-click in the blank space of your private folder.
- Select New Folder option to create a new folder within your private folder.
- Type cs367 and press Enter to create a folder for your cs367 work. Create folders for other courses if you like.
- Double-click the cs367 folder to open the folder you just created.
- Create a folder named programs (to store programming project work).
- Create a folder named homeworks (to store your homework solution work).
Create a homework document using LibreWriter.
- Click the LibreWriter icon. (looks like text document in left nav menu--hover to confirm)
- Type the following information at the top of the homework page:
- Homework #1
- Your name
- Your NetID
- Homework 1
- Due Date and Time.
- Save the file. (Click the Save icon)
- Select your private/homeworks folder (that you created earlier).
- Type h1 for the name of your file.
Note: it aids our grading process "scripts" for all students to use the same file names -- trust us, h1 is a good name for this file.
- Click the Save button to save the file with this name in the chosen folder.
- Export to PDF (this is required for homework submissions)
- Re-Open your private/cs367/homeworks/h1.odt file.
(This is your LibreWriter file in private/cs367/homeworks folder)
- Click Export Directly as PDF.
- Keep h1 as the file name. It will save as h1.pdf.
- Keep file type as Portable Document Format (pdf).
- Click Save to generate the pdf for your homework file.
- Check that h1.pdf is in your private/homeworks folder.
- Upload your h1.pdf file to your Homework 1 handin folder on Canvas.
- Note: any time you make changes to your h1.odt document, you must re-save and re-export to PDF for the changes to be re-published to the PDF format.
- Return to this file, double-click to open, and then continue work on your homework assignment document. Be sure to save often while working on your homework documents.
Create a programming project using Eclipse
- Open a terminal window
- Type eclipse &
- Create a Java Project named p1
- Download p1 files
- Copy them to your p1 folder
- Edit
- Compile
- Run your program
Run your Java program from the command line (try it, you'll like it)
Logout
- Click the Settings gear icon. (Upper right corner of the desktop window)
- Click the Log Out option
- Confirm Log Out (Don't lock CS workstations unless you are just going to get printout or to a restroom).