PHP 4.0 Bug #6760 Updated: javac of net/php/servlet.java fails
| From: | sniper@php.net | Date: | Tue, 30 Jan 2001 08:48:41 +0000 |
| Subject: | PHP 4.0 Bug #6760 Updated: javac of net/php/servlet.java fails | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45314@lists.php.net to get a copy of this message | ||
ID: 6760
Updated by: sniper
Reported By: Wolfram.Schmidt@iao.fhg.de
Old-Status: Feedback
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
No feedback.
Previous Comments:
---------------------------------------------------------------------------
[2000-12-20 15:30:02] akilov@php.net
One more thing. You should also add . (for current directory) into your classpath since during the
compile step the php java classes are copied/built in the local build directory.
---------------------------------------------------------------------------
[2000-12-20 15:28:08] akilov@php.net
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.
---------------------------------------------------------------------------
[2000-12-18 10:28:33] sniper@php.net
Does this happen with latest snapshot from http://snaps.php.net/
??
--Jani
---------------------------------------------------------------------------
[2000-09-14 09:46:59] Wolfram.Schmidt@iao.fhg.de
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