Compiling an administration application using the Thin Administration Client

Use the wsadmin tool to use the thin administrative client to compile an application.

About this task

To use the thin administrative client JAR files to compile an application, perform the following steps:

Procedure

  1. Include the com.ibm.ws.admin.client_8.0.0.jar JAR file in the CLASSPATH.
  2. Compile the application.

Example

For example, the JAR file is located in the app_server_root/runtimes directory and to compile the ThinAdminClientApplication.java file in the current directory. Use the following to compile the file::
export CLASSPATH=app_server_root/runtimes/com.ibm.ws.admin.client_8.0.0.jar:${CLASSPATH}
${JAVA_HOME}/bin/javac ThinAdminClientApplication.java