Updated java to version 1.7.