Tool Setup Instructions

Java 2 Platform, Enterprise Edition, Version 1.4

If the course you are setting up requires J2EE 1.4, 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 J2EE 1.4 SDK includes the J2SE 1.4.2 SDK. You will not need to set up the J2SE separately — indeed, you should not do so.

Second, you will find that the J2EE 1.4 SDK requires either Windows XP or the Windows 2000 Service Pack 3. If you do not already have this installed, you can find it easily at Microsoft's website.

The J2EE 1.4 SDK is a free download from Sun Microsystems. Our courses are tested against the 1.4 final release — not against the "Update 1" release currently available from Sun. Therefore it is important to get the original 1.4 final from Capstone, at the following address:


You can store the installer anywhere on the student machine or perhaps a shared network drive or CD.

Run the installer and follow its instructions. You can install to any path on the student machine you choose — be sure to note the location for later steps if you alter the default. 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!

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

  • J2EE_HOME to c:\Sun\AppServer
  • JAVA_HOME to c:\Sun\AppServer\jdk
  • PATH to include both %JAVA_HOME%\bin and %J2EE_HOME%\bin

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

java -version

java version "1.4.2_02" (later version numbers are okay)

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)

Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)

asadmin start-domain domain1

Starting Domain domain1, please wait.

Log redirected to c:\Resources\J2EE1.4\domains\domain1\logs\server.log.

(Pauses for a minute or two -- note that the new process "domain1: J2EE 1.4 Server" appears)

Domain domain1 started.

asadmin list --user=admin --password=ccstudent


asadmin stop-domain domain1

Domain domain1 stopped.

(Server process should disappear.)