Building and Running an Administrative Client Program

When you are ready to build an administrative client program, you simply need to run javac and set the classpath to pick up the necessary JMX and WebSphere Application Server JAR files. The JAR files typically consist of jmxc.jar, admin.jar, and wsexception.jar. If Application Server is installed in C:\DeploymentManager, then the javac command would look as follows:

javac -classpath c:\DeploymentManager\lib\admin.jar;
   c:\DeploymentManager\lib\wsexception.jar;
   c:\DeploymentManager\lib\jmxc.jar AdminClientExample.java

Run your administrative client program by setting up the run-time environment so that the program can find all of the necessary requirements. Many of the batch or script files ...

Get IBM® WebSphere® System Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.