I am not so sure where the problem lies with this. I have installed JDK1.3.1 on a FreeBSD 4.9 server. It seems to work fine. I have written a small java program and it compiles and runs without any issues.
I want to get the PHP intgration with java working, I must admit I know more about compiling and tinkering with PHP source then java. So I have set all the right options in PHP for this intergration and got the thing to compile.
in my small PHP script to test the system is this.
#!/usr/local/bin/php -q <? $system_inst = new Java('java.lang.System'); echo $system_inst->getProperty("java.version"); ?>
when this is run it produces this.
PHP Fatal error: Unable to load Java Library /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so, error: /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so: Undefined symbol "setFPMode" in /root/test on line 3
I know the setFPmode is due to the threads in java so I have set
LD_LIBRARY_PATH=/usr/local/jdk1.3.1/jre/lib/i386/green_threads
Either way this problem doesn`t seem to go away with the LD references?
anyone got an ideas of what I am doing wrong?
Mark
--
Mark Ackroyd e: [EMAIL PROTECTED]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php