shivani
August 2nd, 2007, 07:50 AM
I am not able to run my php files from the browser which uses java classes its give me error that java class not found. I am using ubuntu 7.04 and installed
java version "1.6.0"
and I configured my eclipse for java 1.6 and also I configured my jvm for java version 1.6 .Although I am not getting any problem in running java program from eclipse but I am getting problem in running php files from the browser.
The error I am getting is as Fatal error: Class 'Java' not found in /var/www/phpinfotest.php the code I am using is as
$system = new java('java.lang.System');
can any one help me out where the probl;em exactly is
shivani
java version "1.6.0"
and I configured my eclipse for java 1.6 and also I configured my jvm for java version 1.6 .Although I am not getting any problem in running java program from eclipse but I am getting problem in running php files from the browser.
The error I am getting is as Fatal error: Class 'Java' not found in /var/www/phpinfotest.php the code I am using is as
$system = new java('java.lang.System');
can any one help me out where the probl;em exactly is
shivani