Environment set-up for IKEYCMD command-line interface
Set up the environment variables to use the IKEYCMD command-line interface as follows:
For Windows platforms, do the following:
- Using the user interface or by modifying autoexec.bat on a command
window, set/modify the PATH variable to include the location of the
Java executable files:
set PATH=c:\Program Files\IBM\Host On-Demand\hod_jre\jre\bin;%PATH%; - Using the user interface or by modifying autoexec.bat on a command
window, set/modify the CLASSPATH environment variable as follows:
set CLASSPATH=c:\Program Files\IBM\GSK7\classes\cfwk.zip;C:\Program Files\IBM\GSK7\classes\gsk7cls.jar;%CLASSPATH%;
For AIX platforms:
First ensure that your xlC files (which constitute the run-time
library for the standard AIX C++ compiler) meet one of the following
requirements:
- on AIX 5.2: fileset xlC.aix50.rte must be at level 6.0.0.3 or later
lslpp -ha "xlC.aix*.rte"(If
your xlC fileset is outdated and you start the Host On-Demand ServiceManager
with Certificate Management active, errors occur.)Next make the following specifications:
- Set your PATH to where your Java or JRE executable resides:
EXPORT PATH=/opt/IBM/Host On-Demand/hod_jre/jre/bin:$PATH - Set the following CLASSPATH environment variable:
EXPORT CLASSPATH=/usr/local/ibm/gsk7/classes/cfwk.zip:/ usr/local/ibm/gsk7/classes/gsk7cls.jar:$CLASSPATH
Once you have completed these steps, IKEYCMD should run from any
directory. To run an IKEYCMD command, use the following syntax:
java com.ibm.gsk.ikeyman.ikeycmd <command>