I'm not sure how to answer your question but I can show you my
configurations.  I'm happy to see someone like me.

Java SDK 1.4.1
PHP 4.2.4-dev
W2K Pro

Here is my configures.

php.ini

extension_dir = c:/php/extensions  # i know it looks strange but it works.
you can also use c:\php\extensions

extension=php_java.dll

[Java]
java.class.path = "c:\php\extensions\php_java.jar;d:\apache2\htdocs\classes"
java.home = "c:\j2sdk1.4.1\bin"
java.library = "c:\j2sdk1.4.1\jre\bin\client\jvm.dll"
java.library.path = "c:\php\extensions"

I place all java classes into d:\apache2\htdocs\classes so that it runs like
Javabeans.  Only problem is that JVM is not always working properly (somehow
?).  I found by myself JVM client is faster than server in java.library
configure.  In my opinion, Java and PHP is NOT yet stable.  My application
runs smoothly but it does not sometimes.

I hope this helps you.

"Luke Van Blerk" <[EMAIL PROTECTED]> wrote in message
news:004401c25bc3$d86a9850$0100a8c0@luke...
> Hi
>
> I'm having trouble getting my Java extension to work consistently with
> Apache. Everything works fine for a minute or 2 before it just dies and
says
> "Unable to create Java Virtual Machine...", etc. Also only one browser
> window will show the working PHP script at a time.
>
> My configuration is Windows XP, Apache 1.3.24, PHP 4.2.2, Sun JDK 1.3.1.
>
> My php.ini looks like this:
>
> extension_dir = "C:\windows\system32"
>
> [Java]
> java.class.path = "C:\php\extensions\php_java.jar;c:\php\classes;."
> java.home = "C:\jdk1.3.1\bin;C:\jdk1.3.1\jre\bin;c:\jdk1.3.1"
> java.library.path = "c:\windows\system32"
> java.library = "C:\jdk1.3.1\jre\bin\hotspot\jvm.dll"
>
> Any suggestions?
>
> Thanks in advance
> Luke
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to