• 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: Greg Guerin <email@hidden>
  • Date: Sat, 9 Jan 2010 11:59:05 -0700

Justa Developer wrote:

It says "Compile failed; see the compiler error output for details." However, I do not know where to fin the compiler error output.


In Xcode 3.0 & 3.1, the compiler error output appears in the build log, also called the build transcript.

In the Build Results window, click the small icon that looks like thin horizontal lines, located to the left above the split-bar.

See Figure 2 here:
http://developer.apple.com/tools/xcode/xcodebuildsettings.html

Hover over each of those little toggle-box icons and a tooltip will appear describing its purpose.


        <javac deprecation="on" srcdir="${src}" destdir="${bin}"
               source="1.6" target="1.2"

A 1.2 target is incompatible with 1.6 source. This is due (at least partly) to the introduction of generics in 1.5, and assertions in 1.4; a 1.2 JVM won't understand them.


Set both source and target to 1.6. When I wrote "Change them" in my earlier reply, I meant both values, not just source.


I am running XCode 3.0 on a Macbook running OS 10.5.8.


You should be running Xcode 3.1.4 on OS 10.5.8. Many bugs have been fixed, so using 3.0 is a bad idea.

  -- GG

_______________________________________________
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


  • Prev by Date: Can't create "/Plugins" folder while Target is built
  • Next by Date: Interface Builder Freezes
  • Previous by thread: Re: How to set Java version in XCode
  • Next by thread: How to set Java version in XCode (Justa Developer)
  • Index(es):
    • Date
    • Thread