I want to interact with Java classes via Sam Ruby's extension. The PHP4
INSTALL file is not very informative in this regard. I put in an entry
on this topic last week, and haven't heard anything.
$object = new Java("Class");
$string = $object->("methodWhichReturnsString");
I think the subject
I want to interact with Java objects from PHP4. Allegedly Sam Ruby's extension
will allow this. The problem is that I don't know the required combination of
java.home, java.library.path, java.class.path, java.library, etc. The INSTALL file
is non-informative in this regard.
I posted this quest
'make clean' usually handles this situation. Give it a try.
Curtis Lacy
Scrumpy wrote:
> I compiled PHP with support for the thttpd module and now I need to remove
> PHP and thttpd and reinstall PHP with Apache module support instead.
>
> How can I find the directories and files that were crea
I did my ./configure using --with-java=/usr/local/jdk118_v1, where my
jdk is installed. PHP can't find the java class, i.e.,
$system = new Java("java.lang.System");
fails, with a message that it can't instantiate the nonexistent class
'java'. I think I need to do something with php.ini, but I
I want to call a Java applet from PHP on the server, and receive its
string output:
$javaClass = new Java("MyJavaClass");
$string = $javaClass->MethodWhichReturnsString();
According to Blake Schwandiman in "PHP4 Developer's Guide" (and other
sources) I need to install as DSO, not static.