show gpl license and fix for jdk7 compiler error