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
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!
We're trying to almagmate Securicor's Safedoor (http://www.safedoor.com) into a custom-built PHP shopping cart system. Don't ask - I never agreed to it :) Anyway, we've got it working on a Dead Rat 7.1 system, but buggered if we can get it to work on a 6.2 Dead Bat.
Regards,
Martyn
----- Original Message ----- From: "Neill Newman" neill@entora.co.uk To: "Martyn Drake" martyn@alug.org.uk Cc: main@lists.alug.org.uk Sent: Thursday, September 20, 2001 3:28 PM Subject: Re: [Alug] PHP and Java problem
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!
-- Open Source Specialists http://www.entora.co.uk/ Tel: +44 (0)701 0723686 Fax: +44 (0)870 3214368