• 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: Java class in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java class in Xcode


  • Subject: Re: Java class in Xcode
  • From: Andrew Pontious <email@hidden>
  • Date: Thu, 29 Nov 2007 09:23:54 -0800

On Nov 29, 2007, at 8:32 AM, D.K. Johnston wrote:

I've just started Java programming. I constructed a Java JFrame GUI class in NetBeans. What do I need to do to get it into an XCode java project? I've added the JAR to the project, but apparently that's not enough (though Code Sense recognises the variables etc. in the class).

I've searched the documentation, but found no specific directions about what needs to be done.

Others may be able to help you more with this, as I am (no longer) a Java expert, but here are some starting thoughts:


First of all, If you're building a pure Java application/applet/etc., and you're already using NetBeans, which runs on Mac OS X, why use Xcode (note: not XCode) at all?

Tools such as NetBeans and Eclipse may have more thorough, and possibly better documented, Java support than Xcode, whose focus in many ways tends to be native C-language-based OS X applications/etc.

Secondly, Xcode handles Java differently depending on the version. In Xcode 2.*, Java was handled via JAM-based targets. In Xcode 3.0, new Java projects are based on ant. So how to make Java projects work will depend on what version of Xcode you are using.

-- Andrew
_______________________________________________
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: 
 >Java class in Xcode (From: "D.K. Johnston" <email@hidden>)

  • Prev by Date: Re: Java class in Xcode
  • Next by Date: Re: Argghh include quirks
  • Previous by thread: Re: Java class in Xcode
  • Next by thread: Xcode 3.0 no longer brings up Debugger window when bp. is hit
  • Index(es):
    • Date
    • Thread