|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12781 Java loader
Submitted: 2001-08-15 22:54 UTC Modified: 2002-04-04 00:00 UTC
From: hisun at english88 dot com dot cn Assigned:
Status: No Feedback Package: Java related
PHP Version: 4.0.6 OS: Windows2000 Pro
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: hisun at english88 dot com dot cn
New email:
PHP Version: OS:


 [2001-08-15 22:54 UTC] hisun at english88 dot com dot cn
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

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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-24 06:10 UTC]
Please test with  PHP 4.1.1+JDK 1.2 and report the result back 
Please do not forget  updating PHP version. Thanks.
 [2002-04-04 00:00 UTC] php-bugs at lists dot php dot net
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".
 [2003-02-11 04:44 UTC] rafacouto at yahoo dot com
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"
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 21:01:23 2020 UTC