Running your program from within an Ant script:
<java jar="myApp.jar" fork="true">
    <jvmarg value="-d64" />
</java>

If you need to run Ant itself in 64-bit Java set ANT_OPTS="-d64"

-Andrew

On 8/22/07, cactuar <[EMAIL PROTECTED]> wrote:
>
>
> I am running Java on HP platforms (PA-RISC and Itanium).  The HP Support
> suggested me to add "-d64" option to the command line to run the 64-bit
> binaries. They said it is used to get past the heap size limitations.  I
> could not get it to run without "-d64" option on our 64 bit
> environment.  My
> command line looks like this:
> java -d64 -jar myApp.jar
>
> I am now trying to get our java application running using Ant.  Is it
> possible to run the Java app this way using Ant?
>
> Thank you.
> --
> View this message in context:
> http://www.nabble.com/How-to-run-Java-on-HP-tf4314139.html#a12283133
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to