I have searched the internet and these forums and have found several questions on the matter but no answers.
I am trying to install ext/java on FreeBSD 4.3-RELEASE with ANY jdk, and
currently I'm working with jdk1.2.2 from the ports collection.
in my apachectl script I have:
export LD_LIBRARY_PATH=/usr/local/lib/php:/usr/local/jdk1.2.2/jre/lib/i386:
/usr/local/jdk1.2.2/jre/lib/i386/classic:/usr/local/jdk1.2.2/jre/lib/i386/
green_threads
and the relevant chunk of php.ini looks like:
java.class.path=/usr/local/lib/php_java.jar
java.library.path=/usr/local/lib/php:/usr/local/jdk1.2.2/jre/lib/i386:/usr/
local/jdk1.2.2/jre/lib/i386/classic:/usr/local/jdk1.2.2/jre/lib/i386/green_threads
extension_dir=/usr/local/lib/php
extension=libphp_java.so
However, when accessing a php script containing a java call, I get:
Fatal error: Unable to locate CreateJavaVM function in java.php on line 6
Thanks in advance,
Allie Micka