java help videos resources
 
HOMEWORK | FAS ACCOUNT INFO | GETTING STARTED | UNIX HELP | USEFUL DOWNLOADS
  
Homework
Homework Submission
Javadoc Commenting Style
 
 
FAS Account Info
Harvard Univ. Computer Services (Documentation):

Getting Started
Yes, you will be able to do your problem sets on your own computer. If you're running Mac OSX Tiger or Leopard, you'll already have Java 1.5 installed, which is what you'll need to use to compile programs. You will also need a programming editor, and there are some listed on this page under Useful Downloads. There is also info on the Java page about writing your Java programs. If you are running Windows, you will need to install Sun's Java SDK which is linked on the Java page.
 
Just to clarify Harvard accounts, the Harvard Faculty of Arts and Sciences originally set up its computer servers to work for two
populations - one for general use, and one for programmers. These went by the hostnames of fas and ice (for Instructional Computing Environment). Then a few years ago, they added a cluster of Linux machines for programming, and named that the New Instructional Computing Environment (nice). They all serve the same group of accounts, so logging into your "FAS" account can be on any of these servers:
  • fas.harvard.edu
  • nice.harvard.edu
  • ice.harvard.edu

However, they have different versions of programming software installed and different capabilities. For our programming, we'll be using nice, although you can check e-mail or transfer files on any of them.
 
Once your account is set up, you'll need the software to be able to connect. If you're on a Mac, you can look in Applications/Utilities/ and find the Terminal program. Open a window, and at the prompt type:

     ice1:~ % ssh username@nice.harvard.edu
  
Replace username with your FAS account name. Type your password when asked, and you're in.
 
If you are on a PC, you will need to download some software from Harvard to make your connection. Go to the FAS Computing page (http://www.fas.harvard.edu/computing) and click the link for Software Downloads. After you log in with your HUID and PIN, you'll be taken to a downloads page. You should get copies of SecureCRT (for telnet sessions) and SecureFX (for file transfer). Harvard has a group license covering all students which includes Extension students. Install this software on your computer. When you start SecureCRT, it should open a dialog box with a list of Harvard connections, and allow you to select FAS or NICE. If you need to create the connection, you can type the hostname into the connection box. Be sure the protocol is set to SSH2, enter your username, and click Connect. As the connection is made, you will be asked for your password, and you should then be in your account.

We do sometimes use Pine e'mail, which you can get to by typing 'pine' at the prompt. I generally point new users to Harvard Computer Society's Unix PDF for more on how to use your account - it's linked below under Unix (the second item).To submit homework, we'll ask you to first upload it to your FAS account, then run a built-in program named 'submit'. This is described in the link above for submitting homework.

   
TOP
   

Unix Help
UNIX http://www.fas.harvard.edu/computing/kb/kb0850.html
http://www.hcs.harvard.edu/~seminar/packets/pdf/seminar-packet-unix.pdf
http://goforit.unk.edu/unix/unix09.htm
PICO http://www.itd.umich.edu/itcsdocs/r1168/
http://www.usd.edu/trio/tut/pico/
http://www.indiana.edu/~ucspubs/b103/ (ignore setting a terminal type)
EMACS http://www.math.utah.edu/lab/unix/emacs-brief-tutorial.html
http://www.lib.uchicago.edu/keith/tcl-course/emacs-tutorial.html
http://www.indiana.edu/~ucspubs/b131/
VI http://goforit.unk.edu/unix/unix11.htm
http://www.itd.umich.edu/itcsdocs/r1172/
http://www.indiana.edu/~ucspubs/b104/
(ignore setting a terminal type)

Useful Downloads
PROGRAMMING EDITORS:
These editors have graphical user interfaces (unlike the Unix editors above) and some will do automatic formatting. All are designed for programming and will not add extra format characters as word processors do.
Programming Editors - PC:
PFE, JEdit, and EditPad are free; TextPad is available at a student price.
Programmers File Editor (PFE) http://www.winsite.com/bin/Info?500000017700
JEdit http://www.jedit.org
EditPad http://www.tucows.com/business/preview/213144.html
TextPad http://www.textpad.com
 
Programming Editors - MAC:
BBEdit Lite and JEdit are free; BBEdit v.6.5 is also available (look for student pricing)
BBEdit Lite bbeditlite.sit
JEdit http://www.jedit.org
UNIX Editors are available in the Terminal program (emacs, vi, pico).
 
TOP
| HOME

 

© 2008 The President and Fellows of Harvard College
Please send comments to The Webmaster
Last modified: Saturday, 13-Dec-2008 17:45:51 EST
URL: http://www.fas.harvard.edu/~libe50b/help.html