samplename and java 1.7 requirement added