RE: Java Extension, Win32
| From: | Nold, Mark | Date: | Wed, 05 Jul 2000 02:12:43 +0000 |
| Subject: | RE: Java Extension, Win32 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4862@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
Jordan,
You need the latest PHP 4.0.1 (i havent check pl2, but have 4.0.1 pl1) and
make sure you php.ini is correct
Mine looks like
[java]
java.class.path="C:\web\php4\php_java.jar;C:\web\site\dev\htdocs\class"
java.library.path=C:\web\php4
extension=php_java.dll
where c:\web\php4 is the location of php.exe
Also note that the PHP Java ignore you classpath etc set in your environment
(autoexec.bat or NT's env) and it doesnt honour a period in java.class.path
-----Original Message-----
From: Jordan Pickup [mailto:jordan@cynetech.com]
Sent: Wednesday, July 05, 2000 2:03 AM
To: PHP General
Subject: Java Extension, Win32
Where do I find documentation on the Java Extension? I have errors I can't
seem to solve.
I get this one when I try it in the browser:
Fatal error: Unable to load Java Library jvm.dll in jver.php on line 4
And this one when I try it from the command line:
Fatal error: Cannot instantiate non-existent class: java in jver.php on
line 4
Any ideas?