CreateProcess error=2 running javadoc from Ant

后端 未结 6 1979
执笔经年
执笔经年 2021-02-04 02:56

Can anyone tell me why I am getting this error message

Buildfile: C:\\Users\\Tara\\workspace\\Testing\\build.xml
doc:
   [delete] Deleting directory C:\\Users\\         


        
6条回答
  •  鱼传尺愫
    2021-02-04 03:51

    I came across the same issue and solved it by adding an additional JREs definitions under:

    Windows > Preferences > Java > Installed JREs

    At the time it failed, I was using Jre7 in C:\Program Files\Java\jre7 then I have added and selected Jre in C:\Program Files\Java\jdk1.7.0_07\jre.

提交回复
热议问题