Re: PHP + Java extension: Fatal error: java.lang.NoClassDefFoundError: net/php/reflect in ..
| From: | Marcello Lupo | Date: | Tue, 22 Oct 2002 16:50:25 +0000 |
| Subject: | Re: PHP + Java extension: Fatal error: java.lang.NoClassDefFoundError: net/php/reflect in .. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120922@lists.php.net to get a copy of this message | ||
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
On Tuesday 22 October 2002 13:18, Fikret CAN wrote:
> Hello PHP Developers,
>
> Recently, I wanted to add the java support into my php statically compiled
> into apache. Based on my search on different php sites, I used following
> options http://62.248.109.99/info.php
> and
> recieve Fatal error: java.lang.NoClassDefFoundError: net/php/reflect
> on my script http://62.248.109.99/java_php_deneme.php
>
> At that point I am stuck. I would appreciate your help and guidence.
>
> Wish you a good day!
>
> İ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