Common Installation Steps

Installing the Demos

System Requirements

Before installing the demos, you need to install the following software if they are not already installed:

1. Java 2 SDK, Standard Edition (J2SETM SDK), v1.4.2_01: download here

2. J2EE TM 1.4 Application Server : download here For more information on the system requirements of the above items, please refer to their respective documentation sets.

Required Property Variables

NOTE: Quickstart will be the only sample available if you download the J2EE(TM) 1.4 Application Server bundle. If installing sample bundle separately from application server bundle, unzip them into <install_dir> directory. Otherwise, if you have downloaded and installed J2EE(TM) 1.4 SDK, your installation should already contain the necessary samples.

Ensure that your J2EE_HOME and PATH environment variables are set. Check here to see how to set these.


The samples/common.properties file will already have the required settings.

Installing the Demo

Start Pointbase.

If you are using Unix, open a shell prompt and enter these commands:

cd $J2EE_HOME/pointbase/tools/serveroption
startserver.sh

If you are using Windows, click on menu "Start->Programs->Sun Microsystems->J2EE 1.4 SDK->Start PointBase".

Alternatively, you could also open a command prompt and enter these commands:

cd %J2EE_HOME%\pointbase\tools\serveroption
startserver.bat

For more information on using PointBase please refer to the Using PointBase document.

Start the application server.

If you are using Unix, open a shell prompt and enter these commands:

     cd $J2EE_HOME/bin
asadmin start-domain domain1
If you are using Windows, click on menu "Start->Programs->Sun Microsystems->J2EE SDK1.4->Start Application Server".

Alternatively, you could also open a command prompt and enter these commands:
     cd %J2EE_HOME%\bin
asadmin.bat
start-domain domain1

    Refer back to individual sample installing instructions for details on how to deploy and run the sample.


© 2004 Sun Microsystems, Inc. All rights reserved.