before upgrade to java 7