ID: 12781 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: No Feedback Bug Type: Java related Operating System: Windows2000 Pro PHP Version: 4.0.6 New Comment:
You need put php_java.jar path in php.ini class path. By example: java.class.path = "d:/apache/PHP-4.3.0/extensions/php_java.jar" Previous Comments: ------------------------------------------------------------------------ [2002-04-04 00:00:04] [EMAIL PROTECTED] No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-02-24 06:10:03] [EMAIL PROTECTED] Please test with PHP 4.1.1+JDK 1.2 and report the result back Please do not forget updating PHP version. Thanks. ------------------------------------------------------------------------ [2001-08-15 22:54:21] [EMAIL PROTECTED] I wrote these notes into php.ini,but when I run my php,I get an Error:Fatal error: java.lang.NoClassDefFoundError: net/php/reflect in d:\apache\cgi-bin\testjava.php(copy from example in manual) on line 3. I am using PHP under Windows2000 Pro ,apache 1.3.20 extension=php_java.dll [Java] java.class.path = ".\php_java.jar;d:\tomcat323\classes;d:\tomcat323\lib\jaxp.jar;d:\tomcat323\lib\servlet.jar;d:\tomcat323\lib\ant.jar;d:\tomcat323\lib\parser.jar;d:\tomcat323\lib\webserver.jar;d:\tomcat323\lib\jasper;D:\jdk1.3\lib\tools.jar;D:\mm.mysql.jdbc-1.2c\mysql_comp.jar;D:\mm.mysql.jdbc-1.2c\mysql_uncomp.jar" java.home = c:\jdk1.3 java.library = D:\jdk1.3\jre\bin\hotspot\jvm.dll java.library.path = D:\jdk1.3\jre\bin\hotspot\ _______ Thanks for any help. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12781&edit=1