[javac] This version of java does not support the classic compiler; upgradinupgradin
g to modern
是怎么回是

解决方案 »

  1.   

    反译一下,这个版本的Java不支持compiler类。
    至于g to modern 我想是更换版本吧。
      

  2.   

    This version of java does not support the classic compiler; upgrading to modern
      

  3.   

    <!--javac-->
    <javac destdir="${build.class.dir}"
        fork="true"
        debug="on">
    ...
    </javac>
    try:
    fork="true"
      

  4.   

    fork="true"
     是什么意思,问题解决后给分
      

  5.   

    This version of java does not support the classic compiler; upgrading to modern告诉你当前的 java 不支持 classic 的编译器, 所以使用 modern 编译器
      

  6.   

    忘了说:
    classic compiler:jdk1.1/1.2
    modern:jdk1.3/1.4下个新的ant,看来他不认1.4.2
      

  7.   

    我查了ant的帮助,jdk1.2以上设置build.compiler 为modern,还要谢谢大家的提醒