Compiling your monitoring applications

You can find the JAR files required to compile your Performance Monitoring Infrastructure (PMI).

Procedure

To compile your Performance Monitoring Infrastructure (PMI) code, you must have the following JAR files in your class path.
  • %WAS_HOME%/plugins/com.ibm.ws.runtime.jar
  • %WAS_HOME%/runtimes/com.ibm.ws.admin.client_8.5.0.jar

What to do next

If your monitoring applications use APIs in other packages, also include those packages on the class path. If any WebSphere® Application Server class is not found with the previously listed set of JARs, then you can include all the WebSphere JARs using:
javac -classpath %WAS_HOME%\plugins\com.ibm.ws.runtime.jar myclass.java