javac1.8 class not found

后端 未结 12 1814
予麋鹿
予麋鹿 2020-11-27 13:10

I have installed two jdks - jdk 1.5 and jdk 1.8. I have following Ant build.xml config file :


    

        
12条回答
  •  庸人自扰
    2020-11-27 13:43

    Update Ant to 1.9.x release as Java 8 in incompatible with Ant versions less tha 1.9 or after the comand put -Dbuild.compiler=javac1.7, see the below:

    ant release -Dbuild.compiler=javac1.7

提交回复
热议问题