CPSC120A: Fundamentals of Computer Science
Fall 2011: Installing Java and Emacs
Windows
- Java: Go to the Java download page
and click on the download button under the Java SE 7 JDK section. Choose
the installer that is appropriate for your computer (either Windows x86
or Windows x64). If you are not sure which is appropriate read
this article.
Once the exe file has downloaded, double click it to run the installer.
When the install has finished running, follow these
instructions
to update the PATH Environment variable.
- Emacs: Go to the Emacs download page and click on the
emacs-23.3-bin-i386.zip
link. Decompress the downloaded
zip file to where you would like Emacs installed (a typical location
is the Program Files
folder. Double click the
addpm
application that is inside the bin
folder of the emacs-23.3
folder you decompressed.
You can now run Emacs from the windows start menu.
- Terminal: Windows has a terminal-like application called
Command Prompt
that you can use to compile
(javac
) and execute (java
) your programs.
There are a few differences you should
take note of:
- To list files use the
dir
command.
- Back slash characters are used to separate directories
in file paths.
- There is no root directory. Instead there are multiple drives.
Typically most files will be found on the drive C:\
- Zip: Windows has zip compression software integrated into the
operating system. To compress or zip a folder, right click on the
folder and choose
New > Compressed (zipped) Folder
.
Mac
- Java: You're done, OS X comes with the Java development kit.
- Emacs: Go to the Emacs for OS X download
page and click on the download button. Double click on the
downloaded dmg file and follow the instructions.
- Terminal: You can find the terminal application in the
Utilities
folder in your Applications
folder.
- Zip: OS X has zip compression software integrated into the
operating system. To compress or zip a folder, right click on the
folder and choose
Compress
.