Problem instantiating Java in PHP on Windows

From: Date: Thu, 21 Sep 2000 21:58:50 +0000
Subject: Problem instantiating Java in PHP on Windows
Groups: php.windows 
Request: Send a blank email to php-windows+get-2775@lists.php.net to get a copy of this message
Hi all I'm having problems using PHP 4 with Java. I'm using Sun's JDK 1.3 and I've downloaded the Hotspot VM. I've installed php_java.dll and php_java.jar and modified the php.ini When I tried executing a script which instantiates Java, it responds with a Java error (not the library not found error) and thereafter the failure of php_java.dll crashes PHP (Access Violation etc). I don't know what I'm doing wrong. I'm thinking of putting all JDK files in one directory so that PHP can just look in one directory for the JDK. Does anybody know how to configure it properly? My config: PHP 4.02 (no other modules installed except php_java.dll for JDK 1.3), Sun JDK 1.3 Thanks.

« previous php.windows (#2775) next »