Trying to Integrate PHP 4.3.4 w/ JDK 1.5.0
| From: | Andrew Hauger | Date: | Thu, 21 Oct 2004 19:13:11 +0000 |
| Subject: | Trying to Integrate PHP 4.3.4 w/ JDK 1.5.0 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-200021@lists.php.net to get a copy of this message | ||
Everything compiled okay, and I think everything is
installed in the right places. When I try to run a
test program, I get the error:
[error] PHP Fatal error:
java.lang.UnsatisfiedLinkError: no php_java in
java.library.path in
/usr/local/apache/htdocs/java_test2.php on line 5
The file php_java.jar is in that directory!
Here are the php.ini parameters:
java.class.path=/usr/local/php-4.3.4/lib/php_java.jar
java.home=/usr/java
java.library.path=/usr/local/php-4.3.4/lib
java.library=/usr/jdk1.5.0/jre/lib/sparc/libjava.so
I appreciate any useful suggestions.