Greeting all,
[
www.onlamp.com]
I try to implement above article with WAMP ... I do All change as it's ... But I can't run PHP with Java class.
I install j2sdk1.4.2_12 on windows 2003 server.
my php.ini file java section :
extension=php_java.dll
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
[Java]
java.library.path = "C:\wamp\php\ext"
java.class.path = "C:\wamp\php\ext\php_java.jar"
java.home = "C:\j2sdk1.4.2_12\bin"
java.library = "C:\j2sdk1.4.2_12\jre\bin\server\jvm.dll"
it seems every things is ok ... check phpinfo() with Java :
[
64.246.48.26]
When I run example PHP code :
<?php
$systemInfo = new Java("java.lang.System"
![winking smiley winking smiley](./mods/smileys/images/smilie3.gif)
;
print "Total seconds since January 1, 1970:
".$systemInfo->currentTimeMillis();
?>
I got below error :
Fatal error: Class 'Java' not found in C:\Program Files\xampp\htdocs\java.php on line 3
rellay I do all best things that I know but at the end I fail to run PHP + Java with WAMP.
any idea or help?
Thank you in advanced.
Bader