Tool Setup Instructions

Java Platform, Enterprise Edition, Version 5_07

If the course you are setting up requires Java EE 5_07, follow these instructions to set it up on the student and instructor machines. If you have questions, please contact your courseware vendor.

First, note that the download of Java EE 5 SDK used in these instructions includes the Java SE 6 SDK. You will not need to set up the SE JDK separately — indeed, you should not do so.

The Java EE 5 SDK, Update 7, is a free download from Sun Microsystems:

Download Java EE 5 SDK, Update 7

Download and save the installer anywhere on the student machine or perhaps a shared network drive or CD.

Run the installer and, after files have been unpacked, see the welcome screen:

Extracting ... Welcome

Accept the license agreement:

License Agreement

Install to the default path c:\Sun\SDK. and let the installer create it:

Installation Directory Create Directory?

When asked for an admin password, enter "ccstudent"

Choose the radio button that makes the server prompt for admin credentials.

On this same screen, confirm that the admin port is 4848 and the HTTP port is 8080. Other port numbers are okay, but the defaults are best for classroom work. If any other ports are selected by the installer, be sure to tell the instructor what they are!

Admin Password

Accept the defaults on the following screens, and wait for the installer to complete (this takes a few minutes on most machines).


Ready to Install

Installing ...

Registration is optional for our purposes, and not usually approprate for classroom machines; the screen below shows the "Skip Registration" option.


On successful installation you'll click Finish and see a confirmation page in your default browser:



After the installation is complete, set environment variables as follows.

  • JAVA_EE_HOME to c:\Sun\SDK
  • JAVA_HOME to c:\Sun\SDK\jdk
  • PATH to include %JAVA_HOME%\bin as well as %JAVA_EE_HOME%\bin (which was put there by the installer)

Test the environment as follows, from a new command console:

java -version

java version "1.6.0_13"


asadmin start-domain domain1

Starting Domain domain1, please wait.

Default Log location is C:\Sun\SDK\domains\domain1\logs\server.log.


Domain listens on at least following ports for connections:

[8080 8181 4848 3700 3820 3920 8686 ].

Domain does not support application server clusters and other standalone instances.

asadmin stop-domain domain1

Domain domain1 stopped.