Ant build not working: unable to find a javac compiler

后端 未结 8 2483
故里飘歌
故里飘歌 2020-12-15 05:46

I am trying to run some Java EE examples. Ant is suggesting: Perhaps JAVA_HOME does not point to the JDK. It is currently set to \"C:\\Program Files\\Java\\jre7

8条回答
  •  独厮守ぢ
    2020-12-15 06:10

    Got this error in Ant command line on Windows 7 x64 system.

    Below change fixed the issue

    Installed JDK from Oracle servers and then added a new system variable JAVA_HOME with value C:\Program Files\Java\jdk1.8.0_131

提交回复
热议问题