How to make Eclipse compile with Java 1.5 in Mac OS X Leopard (10.5)?
- by whiskeyspider
I have been developing in Snow Leopard (10.6). I believe I have some Java6-only API features and I'd like to find these. I moved my project to Leopard (10.5) -- since Snow Leopard does not support Java 1.5 -- but I am so far unable to make Eclipse give compile errors for a Java API call which I know to have been added in 1.6.
Here is what I have done: Project properties - Java Compiler - set everything to 1.5. Preferences - Java - Installed JREs - selected JVM 1.5.0. Project properties - Java Build Path - Libraries - says JRE System Library [JVM 1.5.0]
What am I missing? Is there another way to find Java API calls added in 1.6 when using Eclipse in Snow Leopard?
Thanks.