java execution from shared folder
<p>I've a java file in a shared folder which has to be executed. I tried using the following for execution </p>

<pre><code>set JAVA_HOME=\\[servername]\[sharedfolder]\j2sdk\jdk1.5.0_04
set CLASSPATH= "the directory with the classes"
%JAVA_HOME%/bin/javaw -cp "%CLASSPATH%" [name of the class with the main method]
</code></pre>

<p>but when i gave javac  , it says that javac is not a recognizable command or argument. Is there any other way of executing java files in shared folder?</p>

<p>Thank you for your help in advance.</p>
