Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Without this, the build is dependent on the minor java version used to compile it. By using this flag the code can be compiled with javac 1.7 and used with java 1.6.
This flag does not cover all cases, if the code uses 1.7 specific API calls the compile may not notice (if compiled with 1.7) producing a runtime error. However, that (I believe) is manageable.