Date: 12/20/00
- Next message: akilov <email protected>: "[PHP-DEV] PHP 4.0 Bug #6760 Updated: javac of net/php/servlet.java fails"
- Previous message: Alex Akilov: "Re: [PHP-DEV] How to call Java Class in PHP"
- Next in thread: akilov <email protected>: "[PHP-DEV] PHP 4.0 Bug #6760 Updated: javac of net/php/servlet.java fails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 6760
Updated by: akilov
Reported By: Wolfram.Schmidt <email protected>
Status: Feedback
Bug Type: Compile Failure
Assigned To:
Comments:
This is a CLASSPATH setup problem. Your classpath must contain the standard java runtime classes (classes.zip if JDK 1.1.x and rt.jar if JDK 1.2.x). Also, if trying to build servlet, your classpath should include servlet.jar which is part of the JSDK or your Java webserver (e.g. Tomcat) distribution.
Previous Comments:
---------------------------------------------------------------------------
[2000-12-18 10:28:33] sniper <email protected>
Does this happen with latest snapshot from http://snaps.php.net/ ??
--Jani
---------------------------------------------------------------------------
[2000-09-14 09:46:59] Wolfram.Schmidt <email protected>
Make output:
...
javac net/php/reflect.java
javac -classpath .:.: net/php/servlet.java
net/php/servlet.java:23: Class java.io.IOException not found in import.
import java.io.IOException;
^
...
The reason is that the wrong javac is used.
I configured with --with-java=/usr/java1.2 which is not in $PATH. If I prepend /usr/java1.2/bin to $PATH I get to the next error which has nothing to do with this issue.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6760
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: akilov <email protected>: "[PHP-DEV] PHP 4.0 Bug #6760 Updated: javac of net/php/servlet.java fails"
- Previous message: Alex Akilov: "Re: [PHP-DEV] How to call Java Class in PHP"
- Next in thread: akilov <email protected>: "[PHP-DEV] PHP 4.0 Bug #6760 Updated: javac of net/php/servlet.java fails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

