How can I specify run-time variables in a jar's manifest file?
<p>More specifically, when I run my java program from the command line before I jar it, I do something like this:</p>

<pre><code>java -cp  a.jar;b.jar;c.jar;. -Djavax.net.ssl.trustStore=jssecacerts  Main
</code></pre>

<p>I can put the jar's into the Manifest file like so:</p>

<pre><code>Class-Path: a.jar b.jar c.jar
</code></pre>

<p>And then create the jar file like this:
    jar -cmf MANIFEST Main.jar Main.class</p>

<p>So that when I run it, I can just write:</p>

<pre><code>java -jar Main.jar -Djavax.net.ssl.trustStore=jssecacerts
</code></pre>

<p>However, I'd like to simplify my command line even further and specify the -D variable inside the manifest if possible. Based on this reference:</p>

<p><a href="http://docs.oracle.com/javase/tutorial/deployment/jar/manifestindex.html" rel="nofollow">http://docs.oracle.com/javase/tutorial/deployment/jar/manifestindex.html</a></p>

<p>It doesn't seem obvious how to do it, so I'm wondering if there's any way to do it.</p>
