Sun Java System Application Server Platform Edition 9 Quick Start Guide

ProcedureTo Configure the Windows Environment to Use the Command-Line Tools

  1. From the Explorer window or desktop, right-click My Computer.

  2. Choose Properties to display the System Properties dialog.

  3. Click the Advanced tab.

  4. Click Environment Variables.

  5. In the User variables section, add or update the PATH variable.

    • If a PATH variable exists:

      1. Click Edit.

      2. In Variable Value, enter the path to the server’s bin directory, separated from other entries by a semicolon. For example:

        install-dir/bin;other_entries

    • If a PATH variable is not present:

      1. Click New.

      2. In Variable Name, type PATH.

      3. In Variable Value, type the path to the server’s bin directory:

        install-dir/bin

  6. In the User variables section, add the environment variable AS_ADMIN_USER and set it to the administrative user name that you assigned during installation.

    If you set this variable, you do not need to enter the administrative user name when you run asadmin commands.


    Note –

    If you installed the server with the “Don't Prompt for Admin User Name” option selected, you do not need to create the AS_ADMIN_USER variable.


  7. Click OK to commit the change and close the remaining open windows.