title: execute jar without a main?
body: <p>Can I execute a jar file without having a main class, in this way:</p>
  
  <pre><code>java -jar my_jar.jar -getX arg1 arg2 ...
  </code></pre>
  
  <p>Knowing that I have a method called getX with takes arg1 arg2 ... as arguments.
  Any idea?</p>