|
From: <php...@li...> - 2007-05-24 19:05:16
|
Hi,
> java.class.path=...
this is probably a misunderstanding. Neither gcj ("GNU
Java") nor the PHP/Java Bridge support such an option.
In which documentation have you found it?
When you use gcj, you usually compile your java
library to native code (into a shared libary) and link
it into the running php interpreter. Please see the
Linux lucene or itext example libs.
However, I recommend to use the J2EE server or servlet
engine as a back end and to use the pure PHP/Java
implementation of the bridge. Depending on your PHP
version (php4 or php5.0) you will also need to
download the legacy binary ("java.so" or
"php_java.dll"). This binary is obsolete since php
5.1.4, of course.
In any case, the java_require() procedure allows you
to link your Java libraries or native code into the
running PHP binary, please see our documentation for
details.
Regards,
Jost Boekemeier
__________________________________ Yahoo! Clever - Der einfachste Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever
|