Corrections on new pc for java 7.