Re: Elementary Question -- Will PAY for Advice
Re: Elementary Question -- Will PAY for Advice
- Subject: Re: Elementary Question -- Will PAY for Advice
- From: Cameron Hayne <email@hidden>
- Date: Tue, 4 Oct 2005 10:47:40 -0400
On 4-Oct-05, at 9:55 AM, Gary Morris wrote:
Where can I change the "-Xmx" flag referred to on the Web?
In XCode's Project menu, choose the menu item "Edit Active Executable
xxx". In the dialog that appears, there is a place to add arguments
that will be used when running your program.
Every time I launch my program from XCode (Build & Run), the Run
Log begins with:
"[Session started at 2005-10-03 20:44:22 -0400.]
-[NSJavaVirtualMachine initWithClassPath:] cannot instantiate a
Java virtual machine"
Googling for "cannot instantiate a Java virtual machine" shows
several people having had this problem in the past and the suggested
solution was to uncheck the option "Needs Java" in the Cocoa-Java
specific section of the Info.plist (accessible via "Edit Active
Target" from the Project menu)
You haven't specified what type of project you are building. Is it a
Cocoa-Java project? I.e. do you use Cocoa in your code? If it is a
pure Java project, then you may have chosen the wrong type of project
when you first created this project. For pure Java projects, choose
something from the Java section of the dialog that asks you what type
of project you want.
And what version of XCode are you using?
3) Where does someone learn all this stuff? Is there a book,
reference, or URL that explains the BASICS of building Java code
with gcc & its friends? Or better yet, a book for novice users of
XCode that explains the basics and then how XCode handles those
basics?
I think it will be difficult to build a Java app without first
learning the basics of Java and so I recommend starting with Sun's
Java Tutorial: http://java.sun.com/docs/books/tutorial/
Note also that there are other development environments besides XCode
available for Java. Many professional Java developers use Eclipse:
http://www.eclipse.org/
I will gladly pay someone to take the time to help me, because I'm
stuck!
If you feel like making a donation, you can use the PayPal button at
the bottom of this page:
http://hayne.net/
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden