Specifications
Installation 1- 11
Installing Point-of-Sale
Install Point-of-Sale as described in “Installing with the Install Script” on page 1-4, then return to this
section.
Replacing Security Files in the Alternative JRE
Use the security and policy files from the Point-of-Sale installation with your alternative JRE. Copy the
java.security
and
java.policy
files from the
<install directory>\jre\lib\security
directory to the
corresponding directory in your alternative JRE, such as
c:\wsdk_v51\appserver\java\jre\lib\
security.
Configuring Point-of-Sale for the IBM JRE
Edit the
posenv.bat
file to reflect the new JRE location:
1. Change the JRE_HOME variable to point to the new IBM JRE. For example,
SET JRE_HOME=C:\wsdk_v51\appserver\java\jre
2. If you are using WebSphere MQ, add the wsdk jars to the CLASSPATH environment variable just
before the file writes out to the log file. See the following example.
set CLASSPATH==%CLASSPATH%;c:\wsdk_v51\appserver\lib\com.ibm.mq.jar
set CLASSPATH==%CLASSPATH%;c:\wsdk_v51\appserver\lib\com.ibm.mq.pcf.jar
set CLASSPATH==%CLASSPATH%;c:\wsdk_v51\appserver\lib\com.ibm.mqjms.jar
set CLASSPATH==%CLASSPATH%;c:\wsdk_v51\appserver\lib\naming.jar
set CLASSPATH==%CLASSPATH%;c:\wsdk_v51\appserver\lib\jndi.jar
set CLASSPATH==%CLASSPATH%;c:\wsdk_v51\appserver\lib\namingclient.jar
set CLASSPATH==%CLASSPATH%;c:\wsdk_v51\appserver\lib\namingserver.jar
set CLASSPATH==%CLASSPATH%;c:\wsdk_v51\appserver\lib\messaging.jar
set CLASSPATH==%CLASSPATH%;c:\wsdk_v51\appserver\lib\messagingClient.jar
set CLASSPATH==%CLASSPATH%;c:\wsdk_v51\appserver\lib\ecutils.jar
set CLASSPATH==%CLASSPATH%;c:\wsdk_v51\appserver\properties
Note: This example assumes that you copied the MQ Client jars over to your IBM JRE.