开发者

eclipse: change jre that is used to run ant

How do I change the JRE (for example, to go from a from 64bit to 32bit version) that is used to run ant from inside eclip开发者_StackOverflowse?


  • From the menu, choose Run -> External Tools -> External Tools Configurations (or use the equivalent toolbar button

    eclipse: change jre that is used to run ant

    )
  • Select your Ant Build
  • Click the JRE tab (

    eclipse: change jre that is used to run ant

    ), click Separate JRE and pick the required JRE


I am not sure that you can do that in a global way. However, it is possible to choose your JRE when you run Ant on a specific project:

Go in the Properties of your project, then select Builders and Ant Builder. In the properties for this builder, go in the JRE tab, and choose an Separate JRE.

Another solution is to specify the JRE used directly in your build.xml file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜