Reading Java command line arguments on Unix
<p>I am trying to read a folder name from command line for a Java application on Unix.</p>

<p>I have a ksh script (test.ksh) and it has the line:</p>

<pre><code>java SomApp $*
</code></pre>

<p>I am trying to execute this as below:</p>

<pre><code>test.ksh ../folder
</code></pre>

<p>But this fails; I mean my Java application says there is nothing under "../folder" though there are some files.</p>

<p>How to read such relative paths on Unix?</p>
