Am Donnerstag, den 26.05.2005, 16:35 +0200 schrieb Michel Sokoloff:
> When running the test "fatal error" java not found in line 6.
Thank you very much for pointing out this problem in the windows
documentation. The corrected documentation is attached:
* Install a J2RE >= 1.4.0, for example Sun JDK 1.5.0
* Download and extract php-java-bridge_*-win32-php5.zip into the
folder: c:\php5.
* Activate the PHP/Java Bridge in the global php.ini file.
Add the following entry to your php.ini:
extension = php_java.dll
[java]
* Start the java VM. Double-Click on c:\php5\JavaBridge.jar
* Open a command window in c:\php5 and type:
.\php-cgi test.php >result.html
Open the file result.html with a browser. Search for the "java
status" entry, it should be "java status: running", and examine the
java properties at the bottom of the page.
* Copy your java libraries (.jar files) into c:\php5\lib. Copy the
php_java.dll into the extension directory of your PHP 5.0.3
installation.
* Copy the test.php into your web-server document root and browse to:
http://localhost/test.php
Thank you very much for the bug report.
Regards,
Jost Boekemeier
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
|