As I have mentioned in class, the easiest way to get a UNIX-like environment on a machine running a Windows OS is to install cygwin. You can read more about cygwin at wikipedia:
You may choose to download cygwin from it's official website:
HOWEVER, my experience has been that some of those mirrors don't work particularly well. When I installed it from the cygwin website over the summer, it took three aborted installs before I got it to work.
INSTEAD, you may choose to follow the directions put up by Dr. O'Kane
Unless he has made significant changes of which I am not aware, I have had very little problem getting cygwin to install by following his instructions. However, a few notes that I would make:
PATH="C:\Program Files\Java\jdk1.5.0_06\bin:${PATH}"
INCLUDE="C:\Program Files\Java\jdk1.5.0_06\include:${INCLUDE}"
LIB="C:\Program Files\Java\jdk1.5.0_06\lib:${LIB}"
Where you replace the path in red with whatever path is correct for your
computer and whatever version of Java is on your computer.After all of that, you should be set up to edit, compile, and execute Java code from the command prompt in cygwin.
See me if you need more assistance.