CS111 Computing at Home

This page is meant for informational purposes only. The CS111 instructors and the Computer Science Department do NOT support installation and use of programs for personal computer use. We are not able to answer questions about installing and running programs on personal computers. The information offered below should be used at your own risk!


Table of Contents

Macintosh OS X

PCs running Windows

DrJava


Macintosh OS X


Topic: How can I compile and run Java programs on my own Mac computer?

Generally, Macs running Mac OS X have Java already installed. Macs have both the Java Developer Kit (JDK) that allows you to compile Java programs as well as the virtual machine that allows you to run Java programs. You need only install DrJava as a tool to create and edit your own Java programs.


PCs running Windows


Topic: How can I compile and run Java programs on my own Windows PC machine?

Windows PCs do not necessarily hava Java installed. You can check if Java is installed on your computer by typing in "java -version" into a console window. If you are not running Java, you can download and install it from Sun. There are several download options, and we recommend JDK 6. JDK 6.0 includes both the Java Development Kit (JDK) that allows you to compile Java programs as well as the Java Runtime Environment that allows you to run Java programs. You should also install DrJava as a tool to create and edit your own Java programs.


DrJava


Topic: How can I run DrJava on my own computer?

DrJava is a program that helps users create and edit their own Java programs. DrJava is free to download and use under the terms of the GNU General Public License as published by the Free Software Foundation. It is available for both Macintosh OS X and PCs running Windows.