PHP 4.0 Bug #5992: Unable to connect to java

From: Date: Sun, 06 Aug 2000 13:19:38 +0000
Subject: PHP 4.0 Bug #5992: Unable to connect to java
Groups: php.dev 
Request: Send a blank email to php-dev+get-27930@lists.php.net to get a copy of this message
From: rolf.tollerud@telia.com Operating system: Win 2000 Server PHP version: 4.0.1pl2 PHP Bug Type: Dynamic loading related Bug description: Unable to connect to java I have problems getting php4's JDK1.2.2 support to run. jdk1.2.2 is installed in E:\jdk1.2.2, the 1.2.2 JRE in E:\Program Files\JavaSoft\JRE JAVA_HOME is set to E:\jdk1.2.2 CLASSPATH is set to: F:\Microsoft install\Xalan\xalan-j_1_1\xalan_1_1\php_java.jar php_java.dll is in: D:\PHPext\php_java.dll winnt\php.ini contains the following entries: extension_dir = D:\PHPext [java] java.class.path=F:\Microsoft install\Xalan\xalan-j_1_1\xalan_1_1\php_java.jar extension=php_java.dll When I try to launch the jver.php example.I get an error message "failed to load jvm.dll in line 4" I added to PATH: E:\Program Files\JavaSoft\JRE\1.2\bin\classic (where jvm.dll resides) After I get a new error: Fatal error: Unable to create Java Virtual Machine in D:\phptest\jver.php on line 4 I can see on the mailing list that 2 other persons have the same problem. I never compiled but run the binaries. All other things, including connecting to MySQL and MSSQL works perfectly and very fast! Rolf Tollerud

« previous php.dev (#27930) next »