PHP 4.0 Bug #5992 Updated: Unable to connect to java

From: Date: Mon, 27 Nov 2000 10:39:59 +0000
Subject: PHP 4.0 Bug #5992 Updated: Unable to connect to java
Groups: php.dev 
Request: Send a blank email to php-dev+get-39215@lists.php.net to get a copy of this message
ID: 5992 Updated by: sniper Reported By: rolf.tollerud@telia.com Status: Feedback Bug Type: Dynamic loading Assigned To: Comments: Is this problem still valid? --Jani Previous Comments: --------------------------------------------------------------------------- [2000-08-13 20:48:50] rubys@php.net You may also need E:Program FilesJavaSoftJRE1.2bin in your classpath. --------------------------------------------------------------------------- [2000-08-06 15:19:38] rolf.tollerud@telia.com 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 FilesJavaSoftJRE JAVA_HOME is set to E:jdk1.2.2 CLASSPATH is set to: F:Microsoft installXalanxalan-j_1_1xalan_1_1php_java.jar php_java.dll is in: D:PHPextphp_java.dll winntphp.ini contains the following entries: extension_dir = D:PHPext [java] java.class.path=F:Microsoft installXalanxalan-j_1_1xalan_1_1php_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 FilesJavaSoftJRE1.2binclassic (where jvm.dll resides) After I get a new error: Fatal error: Unable to create Java Virtual Machine in D:phptestjver.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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=5992

« previous php.dev (#39215) next »