XML Training for Java Developers

Classroom Setup Guide

System Requirements

Hardware Requirements (Minimum) 500 MHz, 256 meg RAM, 500 meg disk space.
Hardware Requirements (Recommended) 1.5 GHz, 512 meg RAM, 1 gig disk space.
Operating System Tested on Windows XP Professional. Course software should be viable on all systems which support a Java 6 Developer's Kit.
Network and Security Limited privileges required -- please see our standard security requirements.
Software Requirements All free downloadable tools.

The Java Platform, Standard Edition (Java SE) JDK, version 6.0:

The JDK is a free download from Sun Microsystems. Navigate to:

http://java.sun.com/javase/downloads

Under the heading "JDK 6 Update N" click the Download button. (Note that the JRE is not sufficient -- you need the full developer's kit.) You'll be presented with a license agreement: read this and accept the terms. Then you'll be given options that allow you to download various installers. Choose the "Windows Offline Installation" and save the downloaded file anywhere on the local machine (or on a shared drive, USB memory stick, etc.).

Run the installer and follow its instructions: perform a complete install of the JDK. The installer will first allow you to choose the JDK path: set this to c:\Java6.

Later during the install, you'll be able to select the install path for the public Java runtime. Leave this at its default value; do not set it to c:\Java6, or you will overwrite the JDK itself!

After the installation is complete, set an environment variable JAVA_HOME to c:\Java6.

Add c:\Java6\bin to the beginning of the executable path, so that tools in that directory can be run from any working directory.

(If system permissions make it impossible to add this directory to the beginning of the path, it's usually okay to add it to the end. There is some risk that another Java version will be in the path prior to the one you just installed, but on clean machine setups this is unlikely.)

Test the environment by opening a command console in some directory other than JAVA_HOME, and entering the following command; you should get the response shown:

javac -version

javac 1.6.0

The Java SE 6.0 API documentation, version 6.0:

The Java SE API documentation is a free download from Sun Microsystems. Navigate to:

http://java.sun.com/javase/downloads

Under the heading "Java SE 6 Documentation" click the Download button. You'll be presented with a license agreement: read this and accept the terms. Then you'll be given options that allow you to download various bundles. Choose the English-language documentation, and save the downloaded file anywhere on the local machine (or on a shared drive, USB memory stick, etc.).

Unzip this file to c:\Java6. This will create a new tree of files rooted at c:\Java6\docs.

Create a desktop shortcut to the path shown below:

c:\Java6\docs\api\index.html

Crimson text editor, version 3.70:

Note: This is a softer requirement than most of our tool setup requirements. In most of our courses, students do not by default have any integrated development environment at their disposal. We find that while students can be productive with just a basic text editor such as Windows Notepad, they find it far more rewarding to work with a more sophisticated editor — at least to have simple features such as auto-indent, multiple documents open at once, tab-width control, etc.

There are many good options here, and if the students or instructor have a preferred tool we encourage them to use it. As a default, we recommend the Crimson text editor: it is freeware, a quick download and easy setup, and performs well for basic text editing, programming, or XML editing tasks.

We provide a few simple custom configuration files for Crimson, and these are referenced in other setup documents. If you choose a different text editor or IDE, you will need to duplicate these configurations for that tool.

Download the Crimson 3.70 installer from any of the following URLs:

Run the installer, taking all defaults except for install location: to allow the lab installer to link in XML parsing support, please install to c:\Capstone\Tools\Crimson3.70.

Eclipse Europa Download

Optional support for Eclipse Europa is available, at the instructor's option. Click the following link, download the ZIP file, and extract the whole archive to c:\Capstone\Eclipse. Please consult the instructor with any questions on use of Eclipse in the classroom.

EclipseEuropa

Installing Lab Software

Download the archive of lab installer(s):

542_Lab_Windows_60.zip

This archive contains one or more self-extracting ZIP files that run a completion script after unpacking. Run each of these; we recommend accepting the default installation path c:\Capstone, especially since multiple courses and other resources can all go to this folder, making things simple for students and easy to clean up after class. However, another path can be selected -- this is most common when the C drive is unavailable or too crowded and another drive or partition is more available.

An optional package of Eclipse workspace and projects is also available for the course. This can be downloaded from the following location:

542_IDE_Windows_60.zip

We offer this package intending to simplify the life of the instructor who wishes to use Eclipse in his or her classroom. Eclipse is not part of the standard course delivery; there are small ways in which use of Eclipse will conflict with the use documented in the printed student guide. The instructor will need to be familiar with both the core software for the course and the Eclipse IDE itself in order to guide students through its use, and will very likely want to customize the workspace we provide. See Using Capstone's Eclipse Overlays for specifics.

Install by running the self-extractor(s) found in this archive; unless you installed the above lab images to a non-standard path, be sure to stick with the default target directory c:\Capstone. See the instructor's guide for details on how the Eclipse overlay works. Please consult the instructor with any questions on use of Eclipse in the classroom.

If you have questions about setting up your computer, contact us at support@webucator.com.