I've installed JSDK onto my system, and compiled PHP 4.0.4 with the
--with-java=/usr/java flag.  When I look in php.ini, I see the following
references to java:

[Java]
;java.class.path = .\php_java.jar
;java.home = c:\jdk
;java.library = c:\jdk\jre\bin\hotspot\jvm.dll
;java.library.path = .\

    However, this seems to be for a WinTel installation, not a unix
one.  The php_java.jar I found resides in
$SYSTEM_SRC/php-4.0.4/ext/java/php_java.jar.  Do I copy this somewhere
(out of my SRC tree) and adjust the php.ini accordingly?

    As for the library, the 'jvm's I have are the following:

/usr/java/jre/lib/i386/client/libjvm.so
/usr/java/jre/lib/i386/server/libjvm.so
/usr/java/jre/lib/i386/classic/libjvm.so

    Which do I specify?

    When I look at phpinfo(), it doesn't mention anything anywhere about
Java, and I'm assuming because it's not enabled in the php.ini file.
(would make sense at least)

    AMK4

--
W |
  |  I haven't lost my mind; it's backed up on tape somewhere.
  |____________________________________________________________________
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Ashley M. Kirchner <mailto:[EMAIL PROTECTED]>   .   303.442.6410 x130
  SysAdmin / Websmith                           .     800.441.3873 x130
  Photo Craft Laboratories, Inc.             .        eFax 248.671.0909
  http://www.pcraft.com                  .         3550 Arapahoe Ave #6
  .................. .  .  .     .               Boulder, CO 80303, USA



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to