title: How do I start my Java program with more than one java agent?
body: <p>I'm aware of how to start a java progam with a java agent:</p>
  
  <pre><code>java -javaagent:myAgent.jar MyJavaProgram
  </code></pre>
  
  <p>But what if I want to add 2 or more java agents to instrument my program? I do not want to reinvoke the java -javaagent:... for every agent I have to load in JVM.</p>
  
  <p>I've tried something like this :</p>
  
  <pre><code>java -javaagent:agentA.jar, agentB.jar MyJavaProgram
  </code></pre>
  
  <p>or something like this:</p>
  
  <pre><code>java -javaagent:agentA.jar agentB.jar MyJavaProgram
  </code></pre>
  
  <p>But have no success.</p>
  
  <p>Is there an answer to solve my problem ?</p>
  
  <p>Thank you.</p>