Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: set memory use for jar in manifest



"J.P.Lewis" <email@hidden> wrote:

>Is there a way to set the -mx memory use parameter?
>My application needs more memory than the default, and it
>would be a lot cleaner if it could be specified in the .jar
>rather than having to distribute a shell file to launch the program.

There is no way to do this in the JAR or its manifest. I find it one of
the more annoying shortcomings of double-clicked jars.

1.3 JAR/Manifest spec:
<http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html>

1.4 JAR/Manifest spec:
<http://java.sun.com/j2se/1.4/docs/guide/jar/jar.html>

You could file an RFE with Sun, but I wouldn't hold my breath waiting for it.

-- GG
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.