just an quick response... why are you trying to do this ?? Java is nice, PHP is nice, but trying to combine the two is like sticking wheels on a jelly ;)
If what you are doing is that serious you should be using perl (imho)
Sz
Martyn Drake wrote:
Well, we don't have the developer list as yet, but here's something to think about as my brain has melted and has been replaced by a robotic one that's just used to ask for more tea.
Does anybody here use PHP compiled with Java support (specifically, Kaffe). I'm having a right old time trying to convince Java that it needs to look in a directory. This is a dump of the php.ini file (the java.class.path has to be split over several lines):-
[java] java.library.path=/usr/local/lib/kaffe:/usr/local/lib/php/extensions java.library=/usr/local/lib/libkaffevm.so java.class.path=/usr/local/share/kaffe/Klasses.jar:/home/safedoor/classes/ SMSigner.class:/usr/local/lib/php/extensions/php_java.jar: /home/safedoor/classes/jsafe.jar extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20001222 extension=libphp_java.so
Where Java is failing is on the following message. The bit at line 53 reads as $smsigner = new Java("SMSigner");.
Fatal error: java.lang.ExceptionInInitializerError: [exception was java.lang.UnsatisfiedLinkError: file not found] in /home/safedoor/safedoor.php on line 53
SMSigner is stored within /home/safedoor/classes as explicity declared within java.class.path.
Any ideas?
Many thanks,
Martyn
main@lists.alug.org.uk http://www.anglian.lug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!