Run java on client

Hello,

At some point of a protocol I am running a Java program on the server through the "Run Program on server" component and the following command lines:

cd \$(UserDir)/Lead-finding/tmp

/usr/bin/java testJava.PPM_2_EC50_Java inputFile.csv outputFile

For some reasons (and I'd like to know them ^^) it's pretty slow so I wanted to try with the "Run Program on client" to see if it could be faster and then I wrote:

cd \$(UserDir)/Lead-finding/tmp

"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" testJava.PPM_2_EC50_Java inputFile.csv outputFile

This doesn't work (maybe because I want to use file from the server or because the command line is wrong).

If you can help me make that works, it would be great

thanks

florent