To run a Java thin
client application on a machine with WebSphere® Application Server installed,
use the setupClient command then start the application.
Before you begin
You must install WebSphere Application
Server before performing this task.
Procedure
- Set up the Thin application client environment.
![[IBM i]](../images/iseries.gif)
Use the setupClient script.
- Start the Qshell environment. On the CL command line, run the STRQSH command.
- On the Qshell command line, run the following command using the
dot (.) operator:
. app_server_root/bin/setupClient [-profileName profileName]
- Run the application client.
![[IBM i]](../images/iseries.gif)
Run the following command on a Qshell
command line.
java ${JAVA_FLAGS_EXT} -classpath "$WAS_CLASSPATH:jars_and_classes" -Djava.naming.provider.url=URL class_name app_parm
When using the WebSphere Application
Server launcher, run the following command on a Qshell command line:
java ${JAVA_FLAGS_EXT} -classpath "$WAS_CLASSPATH:jars_and_classes" -Djava.naming.provider.url=URL com.ibm.ws.bootstrap.WSLauncher class_name app_parm