update license and remove copyright in java8 sample, as I did in the other PR (I did not touch java8)