• 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: How to set Java version in XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set Java version in XCode


  • Subject: Re: How to set Java version in XCode
  • From: Xochitl Lunde <email@hidden>
  • Date: Fri, 8 Jan 2010 14:47:45 -0600


> I am teaching myself Java SE 6 but the examples in the book which
> use newer features in the language do compile.  For example:
>
> ArrayList<String> codes = new ArrayList<String>();
>
> generates this compile error:
>
> "generics are not supported in -source 1.3"
>
> It seems to me that there is a Java language version flag which is
> set somewhere to 1.3.  Presumably I want to set it to 1.6.  However,
> I don't see where to set this.  
>
> Any help?


What version of Xcode and what kind of target are you using? The external build tool target using Ant or something else?
 _______________________________________________
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: 
 >How to set Java version in XCode (From: Justa Developer <email@hidden>)

  • Prev by Date: How to set Java version in XCode
  • Next by Date: Re: How to set Java version in XCode
  • Previous by thread: How to set Java version in XCode
  • Next by thread: Re: How to set executable/product name by compiler switch?
  • Index(es):
    • Date
    • Thread