Problem in accessing JAVA in PHP

windows

Guest
Hi,

I am not able to access java class in PHP. I am using PHP 5.0. and Tomcat as webserver. While running this php I am getting the following error.

Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x8078E0D
Function=[Unknown.]
Library=C:\Program Files\Java\j2re1.4.2_03\bin\client\jvm.dll

NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions.

my php is
<?php
phpinfo();
$systemInfo = new Java("java.lang.System");
print "Total seconds since January 1, 1970:
".$systemInfo->currentTimeMillis();
?>

and my server is also getting shut down.

Thanks & Regards
 
Back
Top