I have develop a java program for seria port communication. It is working fine
now I m supposed to run that program through php script. I have written the
script but it is not running.
my php script is
<?php
$temp = "/usr/local/super java /java/test";
exec($temp);
?>
I have done enteries in /super.tab as
java /java/bin/java apache u+g=root
also if I want to run my java program from any other directory other than the
parent directory of my program it do not work and give class not found
exception.
this happens even if i provide whole classpath along with path of my program
like
/root$ java -classpath /usr/java /usr/java/test
please help me out in sorting this problem