using java 1.7 for compilation (for ClassLoader.close() called in DefaultPluginManager)