help! I'm trying to install java support for php
here is the java section from php.ini
[java]
java.class.path=/usr/lib/php/extensions/php_java.jar
java.home=/apps/java
java.library.path=/usr/lib/php/extensions
java.library=/usr/lib/php/extensions/libphp_java.so
extension=libphp_java.so
here are the contents of my php:
<?
$s = new Java ("java.lang.String", "This is a test String");
echo "s = $s\n";
?>
when I first try and load my page I get:
Fatal error: Unable to locate CreateJavaVM function in
/var/www/html/java.php on line 2
after a few reloads I get, the following and the phpinfo java section is
reset, any ideas?
Fatal error: Unable to load Java Library /lib.so, error: /lib.so: cannot
open shared object file: No such file or directory in
/var/www/html/java.php on
line 2
--
Spencer Gibb
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]