update libs and compile on java 6