This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am working on a OSX Mountain Lion Machine. I have exported the ant build.xml file from my Eclipse project. I have both java 1.6 (apple) and java 1.7 (oracle) installed however from the command prompt java 1.7 is the default. I need to keep my project compatible with Java 1.6 for now.
When I run the build I get the warning message :-
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
My attempts at googling this message or fragments of it have not proved very helpful - I'm assuming that it's (maybe) something to do with me running the java 1.7 compiler on a project flagged for 1.6 - but that just a guess.
If someone could give me some idea of what I need (if anything) to do in order to correct this it would be most helpful.
My java 1.7 is installed in this location :- /Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk
My java 1.6 is installed in this location :- /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home