- Use JDK7 to cross compile when compiling with JDK8 to ensure JDK7
compatibility when JAVA7_HOME is set.
- Show a warning about JAVA7_HOME when it is not set and using JDK8.