specifing path to class file from java command line?
<p>I'm running a local script to automatically compile some .java files and deploy the .class files to a remote server.</p>

<p>On the remote server I can then issue this command from the directory I uploaded it too (i.e., /tmp) and it works fine....</p>

<pre><code>java -cp .:/usr/share/java/mysql-connector-java.jar gpimport
</code></pre>

<p>But to execute it from my local script I need to specify the path of the .class file in /tmp so java knows where to look for it.</p>

<p>How do I do that? I thought it would've been really simple to figure out but I haven't had any luck so far!</p>
