title: Running Java program on iSeries on command line
body: <p>I've created a java program and I'm wanting to run it from the iSeries. I've been able to get it to run from the QSH so I know it compiled and runs fine, but I need to run it from the command line not QSH. The program requires the jsch-0.1.55.jar file for the program to work correctly and I'm not 100% sure how to to call the jar file with the program its referencing to.</p>
  
  <p>I've tried </p>
  
  <pre><code>RUNJVA CLASS(ANL0106J) CLASSPATH('/JAVA/Jars/jsch-0.1.55.jar')
  </code></pre>
  
  <p>That didn't work. Then I tried</p>
  
  <pre><code>RUNJVA CLASS('/JAVA/Jars.jsch-0.1.55.jar':. ANL0106J) CLASSPATH('/Java/Jars/jsch-0.1.55.jar')
  </code></pre>
  
  <p>That didn't work either. What am I doing wrong?</p>