Re: PHP & JAVA
| From: | Alex Akilov | Date: | Mon, 20 Nov 2000 16:36:26 +0000 |
| Subject: | Re: PHP & JAVA | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26286@lists.php.net to get a copy of this message | ||
Jon Zuazo <jzua@consulnor.com> wrote:
> [php.ini]
> extension_dir = c:/php_403/extensions/
>
> c:\php_403\extensions\php_java.dll (I think it is being
> loaded properly as I can see it when running "extensions.php" file)
> c:\php_403\extensions\jdk1.3\php_java.jar (9 KB)
>
> Tell me please If you see something that seems not to be as it should. Thanks
>
In that case, you need to change in your php.ini:
java.class.path = .\php_java.jar
to:
java.class.path=c:\php_403\extensions\jdk1.3\php_java.jar
This assumes that you already have rt.jar and the other JDK jars in your
system CLASSPATH as I believe the java.class.path entry in php.ini
is prepended to the system CLASSPATH. Alternatively, you might
wish to list all the jar files you need in your java.class.path entry in
php.ini
to be safe.
Alex