added apache-2 llcense
min java version bump