PHP 4.0 Bug #5992 Updated: Unable to connect to java
| From: | sniper@php.net | Date: | Sat, 30 Dec 2000 16:51:06 +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-42742@lists.php.net to get a copy of this message | ||
ID: 5992
Updated by: sniper
Reported By: rolf.tollerud@telia.com
Old-Status: Feedback
Status: Closed
Bug Type: Dynamic loading
Assigned To:
Comments:
No feedback, considered fixed.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-27 05:39:59] sniper@php.net
Is this problem still valid?
--Jani
---------------------------------------------------------------------------
[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