To run a Java thin
client application on a machine with Application Client for WebSphere® Application Server
installed, use the setup Client command then start the application.
Before you begin
Before performing this task, you must install the Java thin application client from the Application
Client for WebSphere Application
Server installation.
Procedure
- Set up the client application environment. Run
the setupClient command.
![[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_client_root/bin/setupClient [-profileName profileName]
- Run a Java command
to invoke your client application.
![[IBM i]](../images/iseries.gif)
Run the following command on the Qshell command
line:
java ${JAVA_FLAGS_EXT} -classpath "$WAS_CLASSPATH:jars_and_classes" -Djava.naming.provider.url=URL class_name app_parm