I'd like to play with using java classes from within php, as is
described in http://www.php.net/manual/en/ref.java.php ... I'm using the
apache and php4 packages from the debian testing distribution.

All of the documentation I've found on the web about installing the java
extension seems to be oriented toward windows, making me think that
maybe I don't need to specify an extension library on linux?

I tried simply using

        ini_set ("java.home", "/usr/local/sun-j2sdk1.4.1");
        $systemInfo = new Java("java.lang.System");

and got the following:

        Fatal error: Cannot instantiate non-existent class: java

That seems fairly straightforward: My php doesn't know java from adam.

So my questions are: Do I need to get an extension library for this
functionality on linux?  If not, does anyone know of a debian package of
php4 that will give me this capability?  I rather like being able to use
packages wherever possible.

Thanks in advance for any insight!

-- monique



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to