Re: JavaClasses and PHP4
| From: | smallsnake | Date: | Tue, 15 Aug 2000 00:46:12 +0000 |
| Subject: | Re: JavaClasses and PHP4 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11711@lists.php.net to get a copy of this message | ||
I asked the same question about some days.
Now i success,i hava to thank Nold ; Mark .
If you wish to include multiple java.class.path directives make sure they
are all encased by quotes.
smallsnake
"Clemens Schwaighofer" <cs@pixelwings.com> wrote in message
news:39983A51.B017ED09@pixelwings.com...
> Hi!
>
> I tried to install the Java feature with PHP4 ... and I failed. I tried
> it
> on a RedHat 6.2, with apache 1.3.12 and php4pl2 and kaffe 1.0.5.
>
> I set up everything as said in the README in /ext/java but after
> restarting the
> webserver, I tried to start the sample php pages, but all I get is this
>
> eg in: http://bfi.pixelwings.com/java/jawt.php
>
> Fatal error: Unable to load Java Library /libkaffevm.so in
> /home/httpd/html/java/jawt.php on line 5
>
> this .so is in the correct directory, and I also configured PHP.ini like
> this and added:
>
> [java]
>
> java.library.path=/usr/lib/kaffe:/usr/src/web_server/php-4.0.1pl2/modules
>
java.class.path=/usr/share/kaffe/Klasses.jar:/usr/src/web_server/php-4.0.1pl
2/modules/php_java.jar
> extension_dir=/usr/src/web_server/php-4.0.1pl2/modules
> extension=libphp_java.so
>
> anybody knows if there is a possibilty to get this thing working ? and
> is it worth to try it out ? is it
> stable and can I really do some java programming ?
>
> any help would be really great! thank you.
>
> --
> mfg, Clemens Schwaighofer
> PIXELWINGS Medien AG
> Kandlgasse 15/5, A-1070 Wien, T: [+43 1] 524 58 50 - 52
> http://www.pixelwings.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>