updated jave version to 7