Setting Up the JOnAS Environment

We assume that your JDK is already installed and configured. If this is not the case, refer to the section JavaTM2 Software Development Kit.

Once you have installed your JOnAS distribution, you have to set up the JONAS_ROOT environment variable prior to using JOnAS or any of its tools. You will also have to update your PATH variable as well.

Here are examples for setting your environment for Unix and Windows platforms:

Open a new DOS window and proceed as follows:

C:>set JONAS_ROOT=C:[installation directory]
C:>set PATH=%PATH%;%JONAS_ROOT%\bin\nt

Note that if you want to set this variable permanently, use the method described in the section Setting Up Your Java Environment according to your Windows version.