BFOIT
Introduction to Programming
Appendix F
Installation of the Java Environment
In case some other site would like to use these materials to teach an
Introduction to Programming class, you will need to know how I've
configured the systems. BFOIT classes are held in a CS computer
lab at UC Berkeley. When I use these materials at Longfellow Middle
School, I use a Sun Microsystems server with thin clients for desktops.
In the CS lab at UC Berkeley, Java is already available on the PCs.
The PCs are running some flavor of Windows. I have an instructor
account where I place my TG.jar file. The students copy it and start
up the application with a "java -jar TG.jar" command.
At Longfellow Middle School's Java lab, I had Java on a Sun Microsystems
E450 server with 30 Sun Ray thin-clients attached to it.
If you computers do not have Java on them you can download the standard
Java SDK from Sun's
Java Downloads website. Follow the link for the "Java 2 Platform,
Standard Edition (J2SE)." There are different versions available.
In 2003, I used Java 1.3.1 for the class.
The material is platform independent.
TG.jar
The easiest way to run the TurtleGraphics application is to simply
grab the TG.jar file from the BFOIT website. It is available at
www.bfoit.org/Intro_to_Programming/TG.jar
I just tested copying this string into Internet Explorer's Address
area and got the following pop-up.
When I clicked on "Save" I got another pop-up ("Save As") which had the
Filename: field set to just "TG" - you need to append ".jar" to this.
Change the "Save In:" field appropriately for where you want it
to go. Click on "Save" and you should be all set... You should be
able to start up the TG application with the command
java -jar TG.jar
Supporting Source Code
If you are interested in starting from scratch with the source code,
contact me via e-mail (guyhaas@pacbell.net). I used to keep pointers
to the source files here, but TG now consists of more than 40 files.
Back to Table of Contents