Separate names with a comma.
Discussion in 'Mac Programming' started by m3the01, Aug 1, 2007.
This is for java,
Thanks for the help,
Just cant seem to locate it.
Could you be a bit more specific? What is the purpose of the -Xmx and -Xms arguments? Are you trying to compile?
In your source list on the left, there's a Group titled "Executables." (If I understand your question correctly.) Expand this group, and click on the executable you want to add the options for. Click the "Info" button in the toolbar, then on the "Arguments" tab of the window that pops up.
This is, as far as I know, the easiest way to add runtime arguments to the java compiler from within XCode.
Sorry i assume to much,
See normally when using the standard java runtime call your would say something like this
java -Xms64m -Xmx256m fileThatContainsMain
I assume there is somewhere in xcode that i code specify these flags.
thanks for the help!
Hey i followed your directions, i actually found that place earlier and attempted but still nothing works.
I tried calling it
name = -Xmx256m value = -Xmx256m
name = -Xms256m value = -Xms256m
I set the heap size all the time in Xcode and it works fine. Just do what Littleodie914 says. Add an argument for the executable, and make sure it is ticked. Just put in what the argument is, eg -Xms256m -Xmx256m. Don't use name=
b e n
Straight from the run log
[Session started at 2007-08-02 07:44:18 -0600.]
Unsupported option: -Xms256m
appletviewer has exited with status 1.
This is using the newest xcode environment 2.4.1