note 30290 added to ref.java
| From: | polrtex at yahoo dot com | Date: | Thu, 13 Mar 2003 04:52:05 +0000 |
| Subject: | note 30290 added to ref.java | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45201@lists.php.net to get a copy of this message | ||
For setting up php and java on Windows it is important to remeber to add the quotation marks around
the variables in php.ini, although you might not be using spaces in the directory names.
The default examples in php.ini do not include quotes. I am running php 4.2.2 and w2k.
java.class.path= "D:\Inetpub\scripts\php-4.2.2\extensions\php_java.jar;"
java.home= "d:\jdk1.4"
java.library= "d:\jdk1.4\jre\bin\client\jvm.dll"
java.library.path= "D:\Inetpub\scripts\php-4.2.2\extensions"
The same options without the quotes generate various errors : couldn't find the class I am
trying to instantiate, or couldn't start the JVM.
--
http://www.php.net/manual/en/ref.java.php
http://master.php.net/manage/user-notes.php?action=edit+30290
http://master.php.net/manage/user-notes.php?action=delete+30290
http://master.php.net/manage/user-notes.php?action=reject+30290