fix dependent library issue. change from java 7 to java 1.6