Eric, I have the same problem as you have when using Sun JDK 1.4.1 and Ant 1.4 or 1.5. When I use JSK1.3.x instead, it works! I posted the same question yesterday, but did not yet receive an answer.
Dirk Eric Astor schrieb: > I'm trying to run my first build script under ant. The > error message that is returned is as follows: > > Cannot use classic compiler, as it is not available. A > common solution is to set the environment variable > JAVA_HOME to your jdk directory. > > I've verified that JAVA_HOME is set correctly, that the > ext directory of my JRE subdirectory under my jdk1.3.1_04 > is empty, and that tools.jar is on both my classpath and > ant's generated classpath. Nothing seems to get rid of > this error. Any ideas? > > Thanks, > Eric Astor > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
