Previous Topic: Example 2 - Pure Java Agent Using Automatic ConfigurationNext Topic: Platform-Specific Agent Installation


Example 3 - Native Agent

This example is based on the Solaris (Sparc) 32-bit native agent.

$ java -jar dist/agent/LisaAgent.jar -ia -native tcp://localhost:2009 MyAgent
Enter the path of the 'java' executable [...]: /usr/jdk/instances/jdk1.6.0/bin/java
  
=====
 
System verification complete.  Add these options to the java command-line to start the DevTest agent:
 
   -agentpath:/tmp/user/dist/agent/libJavaBinder.solaris.sparc32.so=jar=file:/tmp/user/dist/agent/LisaAgent.jar,url=tcp://localhost:2009,name=MyAgent

Do you need assistance to automatically configure the DevTest agent? Please enter [Yes/Y], if no, enter any other letter, then enter

n

Please manually add these options to the Java command-line to start the DevTest agent