Configuring Your Environment

In this chapter, we will put all the pieces together that are required to configure a complete J2EE platform. Note that you can find a more detailed description in the documentation provided with each software component.

Setting Up Your Java Environment

After installing the Java SDK as described in the section JavaTM2 Software Development Kit, your only remaining task is to set the value for JAVA_HOME and update the PATH environment variable.

JAVA_HOME must point to the directory where you installed the SDK and PATH must point to the bin subdirectory of the SDK. Here are examples for the Unix and Windows platforms:

Unix platforms

Note

Environment variables must be correctly set at all times. It is common practice to insert these commands in your shell start file (.bashrc, .cshrc, ...).

Windows platforms