[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Select Java version for ant compilations on MacOS

On 9/18/09 9:35 AM, Christopher V. Kimball wrote:
My server requires Java 1.5 class files.  The class files are compiled
with the ant 1.7.1 javac task on a Mac OSX 10.6.1 system that has Java
1.6 as its "Current" Java.

How do I switch back to Java 1.5?

I don't see how this is related to Eclipse.
Even so, I can provide some answer: do you know about the Java Preferences app (it should be in your Utilities folder)? That is where you set the system preference for which JDK is used by default. I suppose you could also try specifying it in the Ant javac task, although I don't remember exactly how to do that off the top of my head; I'm sure the Ant documentation has instructions.


Eric