warning: [options] bootstrap class path not set in conjunction with -source 1.5
From a blog post: To use javac from JDK N to cross-compiler to an older platform version, the correct practice is to: Use the older -source setting. Set the bootclasspath to compile against the rt.jar (or equivalent) for the older platform. If the second step is not taken, javac will dutifully use the old language rules … Read more