note 28127 deleted from ref.java by sobak
| From: | sobak@php.net | Date: | Thu, 24 Nov 2016 11:54:27 +0000 |
| Subject: | note 28127 deleted from ref.java by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207555@lists.php.net to get a copy of this message | ||
Note Submitter: neil at lowden dot net
----
** Success with W2K Server, PHP 4.3.0 as IIS5 SAPI module and J2SDK1.4.1_01 **
After a bunch of annoyingly spurious "access violation" and "Unable to create Java
Virtual Machine" errors
I changed the php.ini setting for java.library from:
"C:\j2sdk1.4.1_01\jre\bin\client\jvm.dll"
to:
"C:\j2sdk1.4.1_01\jre\bin\server\jvm.dll"
All above examples now work perfectly incuding my own classes and those at
http://www.onlamp.com/pub/a/php/2001/06/14/php_jav.html
(thanks to emilebosch above on 18-Oct-2001 07:19).
I'd really like to know the difference between 'client' and 'server' JVM
versions if anyone can illuminate us.
Notes:
1. Manual install of PHP 4.3.0 to C:\php with the following relevant extracts from php.ini:
extension=php_java.dll
[Java]
java.class.path = "C:\php\extensions\php_java.jar;C:\java\packages\"
java.home = "C:\j2sdk1.4.1_01\bin"
java.library = "C:\j2sdk1.4.1_01\jre\bin\server\jvm.dll"
java.library.path = "C:\php\extensions"
2. Default installation of latest Java SDK from Sun
3. Win2K Server SP2 with all(?) patches
4. My own classes are placed in C:\java\packages\
Hope this helps some people.
Regards
-Neil