PHP 4.0 Bug #6760 Updated: javac of net/php/servlet.java fails

From: Date: Wed, 20 Dec 2000 20:28:08 +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-41990@lists.php.net to get a copy of this message
ID: 6760 Updated by: akilov Reported By: Wolfram.Schmidt@iao.fhg.de 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@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

« previous php.dev (#41990) next »