• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Elementary Question -- Will PAY for Advice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Elementary Question -- Will PAY for Advice (From: Gary Morris <email@hidden>)

  • Prev by Date: Xcode 2.1: SCM Error "could not reach host"
  • Next by Date: Re: Building Omni Frameworks (Was: Xcode 2.1 FRAMEWORK_SEARCH_PATHS?)
  • Previous by thread: Elementary Question -- Will PAY for Advice
  • Next by thread: Elementary Question -- Answered
  • Index(es):
    • Date
    • Thread