This section describes the hardware and software requirements for the PJES build environment and its setup procedures. See Build Environment Procedures for a description of how to use the PJES build environment to build the PJAE. See Build Environment Implementation for a description of the tools and build process of the PJES build environment.
Note: The PJES build environment requires a development system with a system locale based on the ISO 8859-1 (Latin-1) character set.
Software Package | Description |
---|---|
SUNWcsu | core operating system software |
SUNWbtool | software development utilities |
SUNWtoo | programming tools |
SUNWsprot | Solaris bundled tools |
Note: Use the following command to verify whether a given Solaris software package has been installed:
% pkginfo -l "package-name"
The PJES build environment and the JDK use the environment variables described in the table below. Some of these environment variables can cause name conflicts and should be defined correctly so that they do not include directories for JDK versions that are not compatible with the PJES build environment.
Variable | Description |
---|---|
LANG | The system locale. |
CLASSPATH | The search path used by the Java virtual machine to find class files. |
LD_LIBRARY_PATH | The search path for finding shared libraries that contain the implementations of native methods. |
The following steps describe how to setup the PJES build environment on a Solaris system:
setenv LANG en_US
The PATH variable is usually defined in a startup file for a shell program like csh, sh, ksh or bash. It is usually best to add these directories to the front of the list in the PATH variable to avoid name conflicts.
Example | Description |
---|---|
/usr/local/java/jdk1.1.7/solaris/bin | JDK programming tools, like javac and javah. |
/usr/local/bin | Zip compression and archiving tools. |
/usr/local/bin | GNU C Compiler. |
/usr/ccs/bin | Solaris programming utilities. |
Here is a PATH environment variable definition for csh(1) based on the examples in the table above:
setenv PATH ".:/usr/local/java/jdk1.1.7/solaris/bin\ :/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/ucb:/bin:/usr/bin:$PATH"
Note: The PJES build environment requires a development system with a system locale based on the ISO 8859-1 (Latin-1) character set.
The procedure for setting up the PJES build environment under Microsoft Windows NT has three steps. Some of these steps can be condensed into a batch file or added to autoexec.bat.
vcvars32 x86
This script defines the INCLUDE, LIB and PATH environment variables for use with the makefiles and scripts in the PJES build environment.
set PATH=C:\Program Files\MASM\bin;C:\Program Files\MKS\bin;%PATH%