tags:

views:

20

answers:

2

hello, is it possible to change the JRE (from 64bit to 32bit) that is used to run ant from inside eclipse?

if yes, how?

thanks!

+1  A: 
  • From the menu, choose Run -> External Tools -> External Tools Configurations (or use the equivalent toolbar button toolbar button)
  • Select your Ant Build
  • Click the JRE tab (external tools tabs ), click Separate JRE and pick the required JRE
mikej
+1  A: 

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.

romaintaz