fix classpath and change java 7 to 6