rebuild using java 6