Compiling an application in a non-OSGi environment using scripting

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_6.1.0.jar JAR file in the CLASSPATH.
  2. Compile the application.

Example

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



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 4:53:43 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-base-dist&topic=txml_nonosgi
File name: txml_nonosgi.html