php.net |  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-24 06:10 UTC] yohgaki@php.net
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 04:01:23 2020 UTC