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:[EMAIL PROTECTED]]
Sent: Monday, 19 March 2001 1:05 AM
To: [EMAIL PROTECTED]
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
--
PHP Windows 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]