RE: Using Java extension with IIS5 has problem

From: Date: Sun, 18 Mar 2001 22:52:16 +0000
Subject: RE: Using Java extension with IIS5 has problem
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-6125@lists.php.net to get a copy of this message
Hi, Can you report the following bug to www.php.net I think there is a problem with php reading the ini setting for php_java On my system it always appends a . in front of the path, which screws up the loading of the php_java.dll The only way to solve it is not to put any pathing information with the filename, eg. extension = php_java.dll -----Original Message----- From: Kick [mailto:mn_eric@email.com] Sent: Monday, 19 March 2001 1:05 AM To: php-windows@lists.php.net Subject: Using Java extension with IIS5 has problem I install php4.04pl on Windows2000. My php.ini configured as below: extension_dir = c:\php4.04\extensions extension=php_java.dll [Java] java.class.path = "C:\php4.04\extensions\php_java.jar;C:\jdk1.3\jre\lib\rt.jar" java.home = c:\jdk1.3 java.library = C:\jdk1.3\jre\bin\hotspot\jvm.dll java.library.path = "C:\php4.04\extensions\" When I run following file: <? $system= new Java("java.lang.System"); print "Java version=".$system->getProperty("java.version")."<br>\n"; print "Java vendor=".$system->getProperty("java.vendor")."<p>\n\n"; ?> I got error mesg: Fatal error: Unable to load Java Library jvm.dll, error: can't find app need with to run this program in E:\WebSites\test\java.php on line 2 What can I do? Any help is welcome! Eric

« previous php.windows (#6125) next »