个人猜测会出现unable to find a javac compiler是因为eclipse默认使用jre6,没有编译器,所以要换成jdk

 

1.设置ant参数


eclipse-ant组件unable to find a javac compiler

 

2.把jre6换成jdk,点击Install Jres
eclipse-ant组件unable to find a javac compiler

 

3.点击add增加jdk,下图已经增加了
eclipse-ant组件unable to find a javac compiler

 

 

4.点击standard vm,安装步骤添加jdk
eclipse-ant组件unable to find a javac compiler

 

5.换成jdk就行了

eclipse-ant组件unable to find a javac compiler

相关文章:

  • 2022-12-23
  • 2021-08-18
  • 2021-05-06
  • 2022-12-23
  • 2021-11-15
  • 2021-10-10
  • 2021-09-02
猜你喜欢
  • 2021-06-24
  • 2021-09-03
  • 2021-05-28
  • 2021-09-25
相关资源
相似解决方案