I have JDK6 & 8 installed on my computer, I would like to do
javac -source 1.6
However I have this warning
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Does anyone know how to set it? I am not using any IDE and I'm on windows7. Thanks!
You can use -Xbootclasspath and provide all jar files there from your JDK6's jre/lib directory, but a better way of doing it would be to call javac from your JDK6 installation:
<path-to-jdk6>/bin/javac ...