ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Goktepe" <andrewgokt...@gmail.com>
Subject Re: How to run Java on HP
Date Thu, 23 Aug 2007 01:31:49 GMT
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 <subtendor@hotmail.com> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message