Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

problem running java program through php

  Asked By: Dora    Date: May 22    Category: Java    Views: 1090

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


$temp = "/usr/local/super java /java/test";



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

this happens even if i provide whole classpath along with path of my program

/root$ java -classpath /usr/java /usr/java/test

please help me out in sorting this problem



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on problem running java program through php Or get search suggestion and latest updates.