updated dependencies while maintaining Java 1.4 compatibility