Re: PHP + Java extension: Fatal error: java.lang.NoClassDefFoundError: net/php/reflect in ..
| From: | Fikret CAN | Date: | Tue, 22 Oct 2002 15:50:16 +0000 |
| Subject: | Re: PHP + Java extension: Fatal error: java.lang.NoClassDefFoundError: net/php/reflect in .. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120932@lists.php.net to get a copy of this message | ||
Yes it solved the problem,
After correcting those path info in php.ini, I had to also go to
/usr/local/lib/php/extensions/no-debug- non-zts-20020429 and make a symbolic
link from java.so to libphp_java.so
That is nice. Thank you Marselo and u all.
Wish you success!
İyi Çalışmalar.
Fikret CAN
Pergel Group İletişim Hizmetleri A.Ş
Akkirman Sok. No:59 80220
Nişantaşı - İstanbul
Tel: (0 212) 230 01 91 / 145
Fax: (0 212) 241 59 12
----- Original Message -----
From: "Marcello Lupo" <lupo@itspecialist.it>
To: <php-general@lists.php.net>
Sent: Tuesday, October 22, 2002 7:50 PM
Subject: Re: [PHP] PHP + Java extension: Fatal error:
java.lang.NoClassDefFoundError: net/php/reflect in ..
> Hi,
> this is my running configuration. I use PHP 4.2.2 and jsdk 1.4
> I think you have to add to your java.class.path the dir where classes are
> located and have to specify java.library.path
>
> java.class.path=/usr/local/lib/php/php_java.jar:/home/ config/_class
> java.home=/usr/local/java/bin
> java.library=/usr/local/java/jre/lib/i386/server/libjvm.so
> java.library.path=/usr/local/lib/php/extensions/no-debug- non-zts-20020429
>
> Hope to help,
> Bye
> Marselo