| 34 | | On a Mac it is [http://support.apple.com/kb/HT2312 recommended that you use the Java Preferences Utility] (at /Applications/Utilities/Java/Java Preferences.app) to set the default version of Java, but ant persists in running with 1.5, and will thus fail. There are several workarounds, but the one that involves the least day-to-day fuss and no use of root access, is to use the [source:trunk/antrc_suggested suggested ~/.antrc], which will then run [source:trunk/.antrc_Darwin .antrc_Darwin], which sets the appropriate environment variable force ant to use the intended version: |
| | 34 | On a Mac it is [UsingJavaOnMac recommended that you use the Java Preferences Utility] to set the default version of Java, but ant persists in running with 1.5, and will thus fail. There are several workarounds, but the one that involves the least day-to-day fuss and no use of root access, is to use the [source:trunk/antrc_suggested suggested ~/.antrc], which will then run [source:trunk/.antrc_Darwin .antrc_Darwin], which sets the appropriate environment variable force ant to use the intended version: |