Run the thin or pluggable application client
To run either the thin application client or the pluggable application client, run the class file in a Java virtual machine. Note that pluggable application clients are only available on the Windows platform. The application client run time provides a script that you can use to set the environment variables to enable the run time. Set the application client environment variables by using the setupClient script.
Note: When you run the setupClient command in an iSeries or UNIX environment, the command must be preceded by a dot and a space, as shown below.
Here are some examples of running the setupClient command from its default location:
On an iSeries server where WAS is installed:
. /QIBM/ProdData/WebAS5/Base/bin/setupClientFor more information, see Run your thin or pluggable application client on an iSeries machine .
On an iSeries server with the redistributable thin client runtime:
. /WebSphere/AppClient/bin/setupClientOn a Windows 32-bit workstation:
C:\WebSphere\AppClient\bin\setupClient.batOn an AIX or Solaris workstation:
. /usr/WebSphere/AppClient/bin/setupClient.sh
After you set the environment variables, add your specific application client JAR files to the CLASSPATH and start your application client from this environment. You can add the JAR files to your system CLASSPATH, or use the -classpath parameter on the java command:
java -classpath /myfiles/myJAR.jar myClientSee these sections for more information about running the setupClient script on various supported platforms:
See also Run your application client with security enabled.
See Migration tips for application clients for information on migrating application client code between different versions of WAS.
The Java virtual machine loads and runs the main() method of the application client class.