HUE-1208 [core] Java components should have the option of compiling in JDK1.7