Switch to java 6 to minimize image size.