downgrade JRE and JDK to 1.6 and solve according problems