removed the last library dependencies on Java8