Hi, i'm new to php-java bridge and having problem to install php-java bridge
on my Windows XP system.
Here is what i'm using.
* Apache Web Server 2.2.3
* PHP 5.2.3
* php/Java Bridge 4.2.1
* java 1.6
I tried several proposals on how to install javabridge, but still not having
any success.
When starting test.php, and after that reading result.html, everythting
seams ok. But, starting
my test.php page from apache/htdocs:
<?php
require_once("http://localhost:8082/JavaBridge/java/Java.inc");
$s = new Java("java.lang.String", "hello");
echo $s;
?>
i get error message in my error.log:
[error] [client 127.0.0.1] PHP Fatal error: Cannot redeclare
java_last_exception_get() in
http://localhost:8101/JavaBridge/java/Java.incon line 1431
I'm not sure where i'm getting wrong. So can someone pleas send me link with
some description on how to
configure my php.ini file so things can go working.
thanks
mladen
|