|
From: <php...@li...> - 2007-12-10 18:22:20
|
Hi,
>Please install the PHP/Java Bridge as described in the INSTALL.J2EE document.
I have installed PHP/Java Bridge. Its works fine with the provided examples (NumberGuess PHP), but not with my example that is deployed to apache:
<?php
if(!extension_loaded("java"))
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
$s = new Java("java.lang.String", "hello");
?>
It gives me the error:
Fatal error: java() [<a href='function.java'>function.java</a>]: Unable to load Java Library C:\Program Files\Java\jdk1.6.0_02\jre\bin\server, error: The specified module could not be found. in C:\xampp\htdocs\example.php on line 7
If I start phpInfo() these values are available:
java.class.path no value no value java.home C:\Program Files\Java\jdk1.6.0_02 C:\Program Files\Java\jdk1.6.0_02 java.library jvm.dll jvm.dll java.library.path C:\php\ext C:\php\ext
php...@li... wrote:
Hi,
> I have problem to connect PHP with java application using PHP/java bridge.
[...]
> If I use php_java.jar and php_java.dll
these files do not belong to the PHP/Java Bridge.
Please install the PHP/Java Bridge as described in the INSTALL.J2EE document.
If you want to use the above files please report the bug to the project or vendor providing
php_java.jar/php_java.dll.
Regards,
Jost Boekemeier
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
|