Supports java version 1.6 and more.