add license and remove jdk6