Hey gang. I just started using ant and can't compile anything.
  Unfortunately, Stefan can't reproduce the following. Perhaps one of
  you has seen this and found the fix...

  I have the j2sdk1.3 package installed which populates both
  /usr/lib/j2re1.3 and /usr/lib/j2sdk1.3; I've set JAVA_HOME to both.
  I've also made the link to tools.jar in /usr/share/ant/lib per ant's
  README.debian, all to no avail. Any other suggestions greatly
  appreciated.

    Buildfile: build.xml

    compile:
        [javac] Modern compiler is not available - using classic compiler
        [javac] Compiling 1 source file to /tmp/hello

    BUILD FAILED

    /tmp/hello/build.xml:3: Cannot use classic compiler, as it is not available A 
common solution is to set the environment variable JAVA_HOME to your jdk directory.

    Total time: 3 seconds

    Compilation exited abnormally with code 1 at Mon Feb 25 17:59:21


--
Bill Wohler <[EMAIL PROTECTED]>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and mh-e. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to